Token Password
Manages a Container Registry Token Password associated with a scope map. For more information on scope maps and their tokens see the product documentation.
Example Usage
resources:
example:
type: azure:core:ResourceGroup
properties:
name: example-resource-group
location: West Europe
exampleRegistry:
type: azure:containerservice:Registry
name: example
properties:
name: example-registry
resourceGroupName: ${example.name}
location: ${example.location}
sku: Basic
adminEnabled: false
georeplicationLocations:
- East US
- West Europe
exampleRegistryScopeMap:
type: azure:containerservice:RegistryScopeMap
name: example
properties:
name: example-scope-map
containerRegistryName: ${exampleRegistry.name}
resourceGroupName: ${example.name}
actions:
- repositories/repo1/content/read
- repositories/repo1/content/write
exampleRegistryToken:
type: azure:containerservice:RegistryToken
name: example
properties:
name: exampletoken
containerRegistryName: ${exampleRegistry.name}
resourceGroupName: ${example.name}
scopeMapId: ${exampleRegistryScopeMap.id}
exampleTokenPassword:
type: azure:containerservice:TokenPassword
name: example
properties:
containerRegistryTokenId: ${exampleRegistryToken.id}
password1:
expiry: 2023-03-22T17:57:36+08:00
Content copied to clipboard
Import
Container Registry Token Passwords can be imported using the resource id
, e.g.
$ pulumi import azure:containerservice/tokenPassword:TokenPassword example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/group1/providers/Microsoft.ContainerRegistry/registries/registry1/tokens/token1/passwords/password
Content copied to clipboard
Properties
Link copied to clipboard
The ID of the Container Registry Token that this Container Registry Token Password resides in. Changing this forces a new Container Registry Token Password to be created.
Link copied to clipboard
One password
block as defined below.
Link copied to clipboard
One password
block as defined below.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard