Skip to content

Commit

Permalink
Added missing export
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderSehr committed Oct 24, 2024
1 parent c0639dc commit 6015341
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions avm/utl/types/avm-common-types/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -380,10 +380,20 @@ type customerManagedKeyType = {
// ================== //
// Secrets Export //
// ================== //
@export()
@description('An AVM-aligned type for the secret to set via the secrets export feature.')
type secretToSetType = {
@description('Required. The name of the secret to set.')
name: string

@description('Required. The value of the secret to set.')
@secure()
value: string
}

@export()
@description('An AVM-aligned type for the output of the secret set via the secrets export feature.')
type secretSetType = {
type secretSetOutputType = {
@description('The resourceId of the exported secret.')
secretResourceId: string

Expand All @@ -394,19 +404,8 @@ type secretSetType = {
secretUriWithVersion: string
}

@export()
@description('An AVM-aligned type for the secret to set via the secrets export feature.')
type secretToSetType = {
@description('Required. The name of the secret to set.')
name: string

@description('Required. The value of the secret to set.')
@secure()
value: string
}

@export()
type secretsOutputType = {
@description('An exported secret\'s references.')
*: secretSetType
*: secretSetOutputType
}

0 comments on commit 6015341

Please sign in to comment.