ncloud_secret_enable_auto_rotation
Enable automatic rotation for a Naver Cloud secret to reduce manual effort. Provide a trigger ID if none exists or to change it, and set the rotation period.
Instructions
Enable automatic rotation of a secret. triggerId is required when the secret has no trigger yet or you want to change it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| secretId | Yes | Secret ID (see ncloud_secret_list_secrets) | |
| triggerId | No | Rotation trigger ID (see ncloud_secret_list_triggers) | |
| keyIsolation | No | Which Secret Manager host to call: 'global' (default) for secrets encrypted with a KMS global key (secretmanager.apigw.ntruss.com); 'regional' for secrets encrypted with a KMS region-isolated key (ocapi-kr.ncloud.com/secretmanager — the only option in the JPN region) | global |
| rotationPeriod | No | Rotation period in days (1-730, default 90) |