google_api_iam_credentials v0.9.0 GoogleApi.IAMCredentials.V1.Model.SignJwtRequest View Source

Attributes

  • delegates (type: list(String.t), default: nil) - The sequence of service accounts in a delegation chain. Each service account must be granted the roles/iam.serviceAccountTokenCreator role on its next service account in the chain. The last service account in the chain must be granted the roles/iam.serviceAccountTokenCreator role on the service account that is specified in the name field of the request.

    The delegates must have the following format: projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}. The - wildcard character is required; replacing it with a project ID is invalid.

  • payload (type: String.t, default: nil) - Required. The JWT payload to sign. Must be a serialized JSON object that contains a JWT Claim Set. For example: {"sub": "user@example.com", "iat": 313435}

    If the claim set contains an exp claim, it must be an integer timestamp that is not in the past and at most 12 hours in the future.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.IAMCredentials.V1.Model.SignJwtRequest{
  delegates: [String.t()],
  payload: String.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.