Class JsonCredentialParameters.CredentialSource (1.59.0)

public class CredentialSource

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

Inheritance

Object > JsonCredentialParameters.CredentialSource

Namespace

Google.Apis.Auth.OAuth2

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
JsonCredentialParameters.CredentialSource.SubjectTokenFormat

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
Dictionary<String, String>

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