1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
# OpenbaoClient::DatabaseWriteStaticRoleRequest
## Properties
| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **credential_config** | **Object** | The configuration for the given credential_type. | [optional] |
| **credential_type** | **String** | The type of credential to manage. Options include: 'password', 'rsa_private_key'. Defaults to 'password'. | [optional][default to 'password'] |
| **db_name** | **String** | Name of the database this role acts on. | [optional] |
| **rotation_period** | **Integer** | Period for automatic credential rotation of the given username. Not valid unless used with \"username\". | [optional] |
| **rotation_statements** | **Array<String>** | Specifies the database statements to be executed to rotate the accounts credentials. Not every plugin type will support this functionality. See the plugin's API page for more information on support and formatting for this parameter. | [optional] |
| **username** | **String** | Name of the static user account for OpenBao to manage. Requires \"rotation_period\" to be specified | [optional] |
## Example
```ruby
require 'openbao_client'
instance = OpenbaoClient::DatabaseWriteStaticRoleRequest.new(
credential_config: null,
credential_type: null,
db_name: null,
rotation_period: null,
rotation_statements: null,
username: null
)
```
|