VaultAppRoleCredentials#

pydantic model phalanx.models.vault.VaultAppRoleCredentials#

Credentials for Vault access using an AppRole.

Parameters:

data (Any) –

Show JSON schema
{
   "title": "VaultAppRoleCredentials",
   "description": "Credentials for Vault access using an AppRole.",
   "type": "object",
   "properties": {
      "role_id": {
         "title": "Role Id",
         "type": "string"
      },
      "secret_id": {
         "title": "Secret Id",
         "type": "string"
      }
   },
   "required": [
      "role_id",
      "secret_id"
   ]
}

Fields:
field role_id: str [Required]#

Unique identifier of the AppRole.

field secret_id: str [Required]#

Authentication credentials for the AppRole.

to_secret_data()#

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