VaultAppRoleMetadata¶
- pydantic model phalanx.models.vault.VaultAppRoleMetadata¶
Metadata about a new or existing Vault AppRole.
- Parameters:
data (
Any
)
Show JSON schema
{ "title": "VaultAppRoleMetadata", "description": "Metadata about a new or existing Vault AppRole.", "type": "object", "properties": { "role_id": { "title": "Role Id", "type": "string" }, "policies": { "items": { "type": "string" }, "title": "Policies", "type": "array" }, "token_ttl": { "anyOf": [ { "type": "integer" }, { "type": "string" } ], "default": 0, "description": "Either an integer number of seconds or a duration string. 0 means there is no limit other than Vault defaults.", "title": "Token lifetime" }, "token_max_ttl": { "anyOf": [ { "type": "integer" }, { "type": "string" } ], "default": 0, "description": "Maximum token lifetime even after renewal. Either an integer number of seconds or a duration string. 0 means there is no limit other than Vault defaults.", "title": "Maximum token lifetime" } }, "required": [ "role_id", "policies" ] }
- field policies: list[str] [Required]¶
Policies applied to this AppRole.
- field role_id: str [Required]¶
Unique identifier of the AppRole.
- field token_max_ttl: int | str = 0¶
Maximum token lifetime even after renewal. Either an integer number of seconds or a duration string. 0 means there is no limit other than Vault defaults.
- field token_ttl: int | str = 0¶
Either an integer number of seconds or a duration string. 0 means there is no limit other than Vault defaults.