Class JsonCredentialParameters.CredentialSource (1.60.0)

public class JsonCredentialParameters.CredentialSource

Holder for the credential source parameters associated to an external account credentials.

Inheritance

object > JsonCredentialParameters.CredentialSource

Namespace

GoogleApisAuthOAuth2

Assembly

Google.Apis.Auth.dll

Properties

EnvironmentId

public string EnvironmentId { get; set; }

The environment identifier for AWS external accounts.

Property Value
TypeDescription
string

File

public string File { get; set; }

For file-sourced credentials this is the path to the file containing the subject token.

Property Value
TypeDescription
string

Format

public JsonCredentialParameters.CredentialSource.SubjectTokenFormat Format { get; set; }

For URL and file sourced credentials, indicates the format in which the subject token will be returned.

Property Value
TypeDescription
JsonCredentialParametersCredentialSourceSubjectTokenFormat

Headers

public Dictionary<string, string> Headers { get; set; }

For URL-sourced credentilas this are headers to be included on the request to obtain the subject token.

Property Value
TypeDescription
Dictionarystringstring

ImdsV2SessionTokenUrl

public string ImdsV2SessionTokenUrl { get; set; }

For AWS credentials, if present, a session token fetched from this URL should be used when making requests to the metadata server.

Property Value
TypeDescription
string

RegionalCredentialVerificationUrl

public string RegionalCredentialVerificationUrl { get; set; }

For AWS credentials, the STS server will use this URL to validate the subject token included on the STS request. This URL will be included as part of the subject token.

Property Value
TypeDescription
string

RegionUrl

public string RegionUrl { get; set; }

For AWS credentials this is the metadata server URL used to determine the AWS region that should be included as part of the subject token.

Property Value
TypeDescription
string

Url

public string Url { get; set; }

For URL-sourced credentials this is the URL from which to obtain the subject token from. For AWS credentials this is the URL for the metadata server from which to obtain the security credentials that will be used to sign the subject token.

Property Value
TypeDescription
string

Extension Method