Identity and Access Management (IAM) v1 API - Class SignJwtRequest (2.3.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
Name Description
other SignJwtRequest

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
Type Description
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: {"sub": "user@example.com", "iat": 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
Type Description
string

ServiceAccountName

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

ServiceAccountName-typed view over the Name resource name property.

Property Value
Type Description
ServiceAccountName