set_secrets.sh
Synopsis
Sets the service principal secrets in Azure Key Vault.
Syntax
set_secrets.sh [--region] <String> [--environment] <String> [--vault] <String> [--subscription] <String> [--spn_id] <String>
[--spn_secret] <String> [--tenant_id] <String>
Description
Sets the secrets in Key Vault that the deployment automation requires.
EXAMPLES
EXAMPLE 1
set_secrets.sh --environment DEV \
--region weeu \
--vault MGMTWEEUDEP00userABC \
--subscription xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx \
--spn_id yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy \
--spn_secret ************************ \
--tenant_id zzzzzzzz-zzzz-zzzz-zzzz-zzzzzzzzzzzz
Parameters
--region
Sets the name of the Azure region for deployment.
Type: String
Aliases: `-r`
Required: True
--environment
Sets the name of the deployment environment.
Type: String
```yaml
Type: String
Aliases: `-e`
Required: True
--vault
Sets the name of the key vault.
Type: String
Aliases: `-v`
Required: True
-spn_id
Sets the service principal's app ID. For more information, see Prepare the deployment credentials.
Type: String
Aliases: `-c`
Required: False
--spn_secret
Sets the Service Principal password. For more information, see Prepare the deployment credentials.
Type: String
Aliases: `-p`
Required: False
--tenant_id
Sets the tenant ID for the service principal. For more information, see Prepare the deployment credentials.
Type: String
Aliases: `-t`
Required: False
Notes
v0.9 - Initial version
Copyright (c) Microsoft Corporation. Licensed under the MIT license.
Related links
GitHub repository: SAP on Azure Deployment Automation Framework
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for