Identity and Access Management (IAM) v1 API - Class SignJwtRequest (2.1.0)

public sealed class SignJwtRequest : IMessage<SignJwtRequest>, IEquatable<SignJwtRequest>, IDeepCloneable<SignJwtRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Identity and Access Management (IAM) v1 API class SignJwtRequest.

Deprecated. Migrate to Service Account Credentials API.

The service account sign JWT request.

Inheritance

Object > SignJwtRequest

Namespace

Google.Cloud.Iam.Admin.V1

Assembly

Google.Cloud.Iam.Admin.V1.dll

Constructors

SignJwtRequest()

public SignJwtRequest()

SignJwtRequest(SignJwtRequest)

public SignJwtRequest(SignJwtRequest other)
Parameter
NameDescription
otherSignJwtRequest

Properties

Name

[Obsolete]
public string Name { get; set; }

Required. Deprecated. Migrate to Service Account Credentials API.

The resource name of the service account in the following format: projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}. Using - as a wildcard for the PROJECT_ID will infer the project from the account. The ACCOUNT value can be the email address or the unique_id of the service account.

Property Value
TypeDescription
String

Payload

[Obsolete]
public string Payload { get; set; }

Required. Deprecated. Migrate to Service Account Credentials API.

The JWT payload to sign. Must be a serialized JSON object that contains a JWT Claims Set. For example: {&quot;sub&quot;: &quot;user@example.com&quot;, &quot;iat&quot;: 313435}

If the JWT Claims Set contains an expiration time (exp) claim, it must be an integer timestamp that is not in the past and no more than 12 hours in the future.

If the JWT Claims Set does not contain an expiration time (exp) claim, this claim is added automatically, with a timestamp that is 1 hour in the future.

Property Value
TypeDescription
String

ServiceAccountName

[Obsolete]
public ServiceAccountName ServiceAccountName { get; set; }

ServiceAccountName-typed view over the Name resource name property.

Property Value
TypeDescription
ServiceAccountName