Class JsonCredentialParameters.CredentialSource
Holder for the credential source parameters associated to an external account credentials.
Inherited Members
Namespace: Google.Apis.Auth.OAuth2
Assembly: Google.Apis.Auth.dll
Syntax
public class JsonCredentialParameters.CredentialSource
Properties
EnvironmentId
The environment identifier for AWS external accounts.
Declaration
[JsonProperty("environment_id")]
public string EnvironmentId { get; set; }
Property Value
Type | Description |
---|---|
string |
File
For file-sourced credentials this is the path to the file containing the subject token.
Declaration
[JsonProperty("file")]
public string File { get; set; }
Property Value
Type | Description |
---|---|
string |
Format
For URL and file sourced credentials, indicates the format in which the subject token will be returned.
Declaration
[JsonProperty("format")]
public JsonCredentialParameters.CredentialSource.SubjectTokenFormat Format { get; set; }
Property Value
Type | Description |
---|---|
JsonCredentialParameters.CredentialSource.SubjectTokenFormat |
Headers
For URL-sourced credentilas this are headers to be included on the request to obtain the subject token.
Declaration
[JsonProperty("headers")]
public Dictionary<string, string> Headers { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> |
ImdsV2SessionTokenUrl
For AWS credentials, if present, a session token fetched from this URL should be used when making requests to the metadata server.
Declaration
[JsonProperty("imdsv2_session_token_url")]
public string ImdsV2SessionTokenUrl { get; set; }
Property Value
Type | Description |
---|---|
string |
RegionUrl
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.
Declaration
[JsonProperty("region_url")]
public string RegionUrl { get; set; }
Property Value
Type | Description |
---|---|
string |
RegionalCredentialVerificationUrl
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.
Declaration
[JsonProperty("regional_cred_verification_url")]
public string RegionalCredentialVerificationUrl { get; set; }
Property Value
Type | Description |
---|---|
string |
Url
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.
Declaration
[JsonProperty("url")]
public string Url { get; set; }
Property Value
Type | Description |
---|---|
string |