create_user
Create a new database user with specified credentials, access levels, and encryption settings for Vultr-managed databases.
Instructions
Create a new database user.
Args: database_id: The database ID or label username: Username for the new user password: Password (auto-generated if not provided) encryption: Password encryption type (MySQL: caching_sha2_password, mysql_native_password) access_level: Permission level (Kafka: admin, read, write, readwrite)
Returns: Created user information
Input Schema
Name | Required | Description | Default |
---|---|---|---|
access_level | No | ||
database_id | Yes | ||
encryption | No | ||
password | No | ||
username | Yes |
Input Schema (JSON Schema)
{
"properties": {
"access_level": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Access Level"
},
"database_id": {
"title": "Database Id",
"type": "string"
},
"encryption": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Encryption"
},
"password": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Password"
},
"username": {
"title": "Username",
"type": "string"
}
},
"required": [
"database_id",
"username"
],
"type": "object"
}