public class JsonCredentialParameters.CredentialSource
Holder for the credential source parameters associated to an external account credentials.
Namespace
Google.Apis.Auth.OAuth2Assembly
Google.Apis.Auth.dll
Properties
EnvironmentId
[JsonProperty("environment_id")]
public string EnvironmentId { get; set; }
The environment identifier for AWS external accounts.
Property Value | |
---|---|
Type | Description |
string |
File
[JsonProperty("file")]
public string File { get; set; }
For file-sourced credentials this is the path to the file containing the subject token.
Property Value | |
---|---|
Type | Description |
string |
Format
[JsonProperty("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 | |
---|---|
Type | Description |
JsonCredentialParametersCredentialSourceSubjectTokenFormat |
Headers
[JsonProperty("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 | |
---|---|
Type | Description |
Dictionarystringstring |
ImdsV2SessionTokenUrl
[JsonProperty("imdsv2_session_token_url")]
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 | |
---|---|
Type | Description |
string |
RegionUrl
[JsonProperty("region_url")]
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 | |
---|---|
Type | Description |
string |
RegionalCredentialVerificationUrl
[JsonProperty("regional_cred_verification_url")]
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 | |
---|---|
Type | Description |
string |
Url
[JsonProperty("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 | |
---|---|
Type | Description |
string |