VaultCredentials#

pydantic model phalanx.models.vault.VaultCredentials#

Credentials used for Vault access.

Can hold either AppRole credentials or a simple token, but always holds one or the other.

Parameters:

data (Any) –

Show JSON schema
{
   "title": "VaultCredentials",
   "description": "Credentials used for Vault access.\n\nCan hold either AppRole credentials or a simple token, but always holds\none or the other.",
   "type": "object",
   "properties": {}
}

abstract to_secret_data()#

Construct the corresponding vault-secrets-operator secret. :rtype: dict[str, str]