1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-02-21 19:48:53 +02:00

Add possibility to fetch jsonCredentialsAzure from Vault (#5011)

This commit is contained in:
Vyacheslav Starostin 2024-08-19 16:21:44 +05:00 committed by GitHub
parent 773332fe1e
commit 8637f894f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 11 additions and 2 deletions

View File

@ -145,6 +145,12 @@ func azureBlobUploadMetadata() config.StepData {
{
Name: "jsonCredentialsAzure",
ResourceRef: []config.ResourceReference{
{
Name: "azureDevOpsVaultSecretName",
Type: "vaultSecret",
Default: "azure-dev-ops",
},
{
Name: "azureCredentialsId",
Type: "secret",

View File

@ -19,8 +19,11 @@ spec:
- PARAMETERS
secret: true
resourceRef:
- name: azureCredentialsId
type: secret
- type: vaultSecret
name: azureDevOpsVaultSecretName
default: azure-dev-ops
- type: secret
name: azureCredentialsId
- name: filePath
resourceRef:
- name: commonPipelineEnvironment