Skip to main content

PolicyCredentialMappingDTO

Access Policy Credential Mappings

credentialProviderIduuidrequired

CredentialProviderId

mappingTypePolicyCredentialProviderMappingTypes (string)required

Possible values: [None, AccountName, HttpHeader, HttpBody]

accountNamestringnullable

Snowflake Username

Possible values: <= 256 characters, Value must match regular expression ^[\p{L}a-zA-Z0-9][\p{L}a-zA-Z0-9._-]*$

headerNamestringnullable

Header Name

Possible values: <= 256 characters, Value must match regular expression ^[\p{L}a-zA-Z0-9][\p{L}a-zA-Z0-9._-]*$

headerValuestringnullable

Header Value

Possible values: <= 256 characters, Value must match regular expression ^[\p{L}a-zA-Z0-9][\p{L}a-zA-Z0-9._-]*$

httpbodyFieldPathstringnullable

HttpBody Field Path

Possible values: <= 256 characters, Value must match regular expression ^[\p{L}a-zA-Z0-9][\p{L}a-zA-Z0-9._-]*$

httpbodyFieldValuestringnullable

HttpBody Field Value

Possible values: <= 256 characters, Value must match regular expression ^[\p{L}a-zA-Z0-9][\p{L}a-zA-Z0-9._-]*$

PolicyCredentialMappingDTO
{
"credentialProviderId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"mappingType": "None",
"accountName": "string",
"headerName": "string",
"headerValue": "string",
"httpbodyFieldPath": "string",
"httpbodyFieldValue": "string"
}