File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed
installation/self-managed-clusters/oidc-issuer Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -53,9 +53,11 @@ Azure blob storage will be used to host the OIDC discovery document and JWKS. Ho
53
53
54
54
``` bash
55
55
export AZURE_STORAGE_ACCOUNT=" azwi$( openssl rand -hex 4) "
56
- export AZURE_STORAGE_CONTAINER=" oidc-test"
56
+ # This $web container is a special container that serves static web content without requiring public access enablement.
57
+ # See https://learn.microsoft.com/en-us/azure/storage/blobs/storage-blob-static-website
58
+ AZURE_STORAGE_CONTAINER=" \$ web"
57
59
az storage account create --resource-group " ${RESOURCE_GROUP} " --name " ${AZURE_STORAGE_ACCOUNT} "
58
- az storage container create --name " ${AZURE_STORAGE_CONTAINER} " --public-access container
60
+ az storage container create --name " ${AZURE_STORAGE_CONTAINER} "
59
61
```
60
62
61
63
Generate and upload the OIDC discovery document:
Original file line number Diff line number Diff line change @@ -14,9 +14,11 @@ export LOCATION="westus2"
14
14
az group create --name " ${RESOURCE_GROUP} " --location " ${LOCATION} "
15
15
16
16
export AZURE_STORAGE_ACCOUNT=" oidcissuer$( openssl rand -hex 4) "
17
- export AZURE_STORAGE_CONTAINER=" oidc-test"
18
- az storage account create --resource-group " ${RESOURCE_GROUP} " --name " ${AZURE_STORAGE_ACCOUNT} " --allow-blob-public-access true
19
- az storage container create --name " ${AZURE_STORAGE_CONTAINER} " --public-access blob
17
+ # This $web container is a special container that serves static web content without requiring public access enablement.
18
+ # See https://learn.microsoft.com/en-us/azure/storage/blobs/storage-blob-static-website
19
+ AZURE_STORAGE_CONTAINER=" \$ web"
20
+ az storage account create --resource-group " ${RESOURCE_GROUP} " --name " ${AZURE_STORAGE_ACCOUNT} "
21
+ az storage container create --name " ${AZURE_STORAGE_CONTAINER} "
20
22
```
21
23
22
24
### 2. Generate the discovery document
You can’t perform that action at this time.
0 commit comments