Specification/Auth
Credentials Provider
Defines how to obtain credentials for a ServiceAccount
A CredentialsProvider defines how to obtain credentials for a ServiceAccount. It can fetch credentials from various sources such as environment variables, files, or secret management systems.
It accepts a service account and should return credentials in dict format.
{
"type": "bearer",
"data": "string"
}
or a more complex structure based on the provider type.
{
"type": "aws_s3",
"data": {
"access_key_id": "string",
"secret_access_key": "string"
}
}
Specification
kind: CredentialsProvider
name: string
type: bearer | basic | aws | gcp | azure | custom
func: string
Prop | Type | Default |
---|---|---|
kind | CredentialsProvider | - |
name | string | - |
type | string | - |
func | string | - |
Example
kind: CredentialsProvider
name: get_bearer_token
type: bearer
func: main.get_bearer_token
Last updated on