pub fn create_secrets_provider(server_name: &str) -> Arc<dyn SecretsProvider>Expand description
Construct a SecretsProvider chain based on the current environment.
Resolution order:
- Org-level Secrets Manager (
awsfeature; activated whenPMCP_SECRETS_PATHcontains/orgs/). - Per-server Secrets Manager (
awsfeature; activated whenPMCP_SECRETS_PATHis set without/orgs/). - SSM Parameter Store (
awsfeature; activated whenPMCP_SSM_PATHis set). EnvSecrets(always present, no prefix).