Shared responsibility overview for Secrets Manager
Zuletzt aktualisiert am
The shared responsibility model for STACKIT Secrets Manager clearly delineates operational and security boundaries between STACKIT and you as the customer. The STACKIT Secrets Manager service certificate defines the binding service scope, the SLA, and the backup terms. For a general overview of cloud governance and shared responsibilities across STACKIT, see the STACKIT shared responsibility model.
Our responsibilities
Section titled “Our responsibilities”STACKIT manages the underlying infrastructure, Secrets Manager software components, platform security controls, and disaster recovery backups to ensure a reliable and secure key-value store for your secrets:
| Security category / specific task | Description / Scope |
|---|---|
| Datacenters, hardware, and network | Operating and securing the physical data centers, host hardware, and underlying network infrastructure. |
| Patching underlying platform components | Maintaining, hardening, and applying security patches to the underlying platform and infrastructure components that host Secrets Manager. |
| Secrets Manager software updates & security fixes | Testing and rolling out preconfigured automatic updates and security fixes to keep Secrets Manager components up to date. |
| Scaling, availability, and DR | Ensuring high availability, automatic scaling of secrets and users, and platform-level backups used strictly for service-wide disaster recovery. |
| Tenant isolation | Enforcing strict logical isolation boundaries between customer Secrets Manager instances and secret mounts on the underlying platform. |
| Audit logging | Generating audit logs for instance lifecycle events (creation, deletion) and secret-level events (creating or deleting a secret, and enabling, disabling, or destroying a secret version). |
| Enforcing authentication & RBAC | Enforcing STACKIT IAM role-based access control on management APIs, as well as IP Access Control Lists (ACLs), userpass and AppRole authentication, and temporary login lockout rules on secret mounts. |
| Monitoring | Continuously monitoring service health, API availability, and infrastructure performance of Secrets Manager. |
| STACKIT staff access control | Restricting, logging, and governing administrative access by STACKIT operations personnel according to strict least-privilege and security policies. |
| Encryption at rest (default) | Encrypting all stored secrets and metadata at rest by default within the Secrets Manager storage backend. |
| Encryption in transit | Securing all Portal, CLI, and API communication with Secrets Manager endpoints using TLS encryption in transit. |
Your responsibilities at a glance
Section titled “Your responsibilities at a glance”The following table summarizes the primary customer responsibilities when configuring and operating a Secrets Manager instance:
| Security category / specific task | Documentation & Best practices |
|---|---|
| Decide who manages instances, users, and ACLs | Understand STACKIT IAM, Assign roles to a user or service account |
| Restrict allowed IP addresses | Configure Access Control Lists via API, Configure the Secrets Manager |
| Manage users | Configure the Secrets Manager, Configure and use AppRoles |
| Rotate user credentials | Secrets Manager FAQ, Configure and use AppRoles |
| Create, maintain & delete secrets | View, create and delete secrets, Versioning in Secrets Manager, Set version limit for Secrets Manager |
| Choose strong secrets & rotation | Versioning in Secrets Manager, Vault CLI Basics of Secrets Manager |
| Optional encryption with own KMS | KMS encryption in the Secrets Manager |
| Secure handling of SM user credentials | Configure the Secrets Manager, Session and token handling, Handle authentication lockouts |
| Backup of secret data | Secrets Manager FAQ, Delete a Secrets Manager |
Your responsibilities in detail
Section titled “Your responsibilities in detail”To make security and operational tasks clear across your engineering teams, the following sections break down the high-level customer responsibilities into fine-grained, concrete domains and controls.
Access control, IAM, and network restrictions
Section titled “Access control, IAM, and network restrictions”Access to Secrets Manager is controlled at two layers: STACKIT IAM governs who can manage the service instance, and IP Access Control Lists (ACLs) govern which network sources can reach it:
| Focus area / Task | Concrete customer responsibility | Documentation & Best practices |
|---|---|---|
| IAM roles for instance governance | Assign STACKIT IAM roles (such as Secrets Manager Admin or Secrets Manager Reader) following the principle of least privilege to control who can create or delete instances, manage users and AppRoles, or edit ACLs. | Understand STACKIT IAM, Assign roles to a user or service account, CLI & API |
| IP Access Control Lists (ACLs) | Configure ACL entries via the Portal or API (POST, PUT, DELETE on /acls) to restrict instance access exclusively to trusted source IP CIDR ranges. Requests from unlisted IPs are rejected with 403 Forbidden. |
Configure Access Control Lists via API, Configure the Secrets Manager |
| Service quotas & rate limits | Design application authentication and secret-fetching patterns to stay within the service limits of up to 100 users and 10,000 API accesses per hour per Secrets Manager instance. | Features, use cases and service plans |
User, AppRole, and session lifecycle
Section titled “User, AppRole, and session lifecycle”You are responsible for provisioning, scoping, rotating, and protecting the userpass and AppRole credentials that clients use to authenticate against your Secrets Manager instance:
| Focus area / Task | Concrete customer responsibility | Documentation & Best practices |
|---|---|---|
| Least-privilege users & AppRoles | Create instance users (userpass) or dedicated AppRoles per workload and trust boundary, granting “read only” access (write: false) by default and assigning “read and write” permissions only when a client must create or update secrets. |
Configure the Secrets Manager, Configure and use AppRoles |
| Secure handling of SM credentials | Save generated user passwords and AppRole Secret IDs immediately in a secure credential store, as they are shown only once upon creation. Configure finite secret_id_ttl and secret_id_num_uses limits where feasible, and never write credentials or Vault tokens to logs or Git. |
Configure the Secrets Manager, Configure and use AppRoles |
Credential rotation (userpass & AppRole) |
Because user passwords cannot be changed in place, rotate userpass credentials by creating a new user, updating your client, and deleting the old user. For AppRoles, create a second Secret ID, update the workload, verify login, and delete the old Secret ID version. |
Secrets Manager FAQ, Configure and use AppRoles |
| Session & Vault token management | Reuse and renew short-lived Vault tokens (15-minute default TTL, renewable up to a 24-hour maximum) for the exact duration needed rather than logging in for every API request, and revoke tokens immediately when they are no longer needed. | Session and token handling, CLI & API |
| Authentication lockout handling | Stop immediate login retries when a client receives 400 Bad Request or 429 Too Many Requests, verify credentials across all application replicas, and wait at least 10 minutes for a temporary lockout to expire before retrying. |
Handle authentication lockouts |
Secret hygiene, versioning, and lifecycle management
Section titled “Secret hygiene, versioning, and lifecycle management”You control the quality, structure, versioning, and retention of the secrets stored inside your instance:
| Focus area / Task | Concrete customer responsibility | Documentation & Best practices |
|---|---|---|
| Strong secrets & code separation | Generate strong, high-entropy secrets, separate all sensitive credentials and configurations from application source code, and organize secrets using folder paths (<secrets-manager-id>/data/<folder>/<secret-name>) or the JSON Editor for nested structures. |
Features, use cases and service plans, CLI & API, Managing Secrets with the JSON Editor |
| Secret rotation & version rollback | Rotate stored secrets regularly by creating a new version via the Portal, Vault CLI (vault kv put), or HashiCorp Vault KV v2 API, and restore a previous version if a configuration change needs to be rolled back. |
Versioning in Secrets Manager, Vault CLI Basics of Secrets Manager |
| Version limits & metadata preservation | Configure max_versions at the instance level or per secret to manage version retention and billing costs. Note that lowering a limit deletes older versions, and use PATCH (application/merge-patch+json) so existing custom metadata is not overwritten. |
Set version limit for Secrets Manager, Secrets Manager FAQ |
| Disabling versions vs. permanent deletion | Disable secret versions rather than deleting a secret whenever possible: disabled versions can be restored, whereas deleting a secret is permanent and cannot be undone. | View, create and delete secrets |
Customer-managed KMS encryption, backups, and support
Section titled “Customer-managed KMS encryption, backups, and support”You decide whether to add customer-managed KMS encryption, how to back up your secrets for operational recovery, and what context to provide in support tickets:
| Focus area / Task | Concrete customer responsibility | Documentation & Best practices |
|---|---|---|
| Optional encryption with STACKIT KMS | When enabling KMS encryption via the v2 API (kmsKey), ensure the KMS key and Secrets Manager instance share the same projectId and regionId, and grant the authorizing service account (serviceAccountEmail) at least the Secrets Manager Reader or Admin role. |
KMS encryption in the Secrets Manager |
| Customer-side backup of secret data | Maintain your own secure, up-to-date backups of critical secret data and verify them before deleting secrets or an instance. STACKIT backups exist solely for platform disaster recovery and cannot restore individual deleted secrets or instances. | Secrets Manager FAQ, Delete a Secrets Manager |
| Support collaboration & sanitization | When opening a support ticket in the STACKIT Help Center, include diagnostic context (instance ID, username or Role ID, source IP, timestamp with time zone, and HTTP status) and never attach passwords, Secret IDs, bearer tokens, or Vault tokens. | Handle authentication lockouts, Secrets Manager Help Center |