Skip to content

Commit

Permalink
docs: add note about disconnected env in faq (#747)
Browse files Browse the repository at this point in the history
Signed-off-by: Anish Ramasekar <[email protected]>
  • Loading branch information
aramase authored Feb 9, 2023
1 parent 4b8e2a4 commit c8cc81d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/book/src/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,8 @@ You can refer to [this link](https://learn.microsoft.com/en-us/azure/aks/workloa
tl;dr:

1. If you use DefaultAzureCredential in your workload, you can update the azure identity sdk version to the latest that supports workload identity (ref: [link](https://azure.github.io/azure-workload-identity/docs/topics/language-specific-examples/azure-identity-sdk.html)).
2. If you still have workloads that get managed identity token from IMDS, you can annotate the pod to get a proxy sidecar injected, that'll do the token exchange with the new flow.
2. If you still have workloads that get managed identity token from IMDS, you can annotate the pod to get a proxy sidecar injected, that'll do the token exchange with the new flow.

## Does Workload Identity work in disconnected environments?

No, Workload Identity doesn't work in completely disconnected environments. The AAD token is valid for 24 hours, so the workload needs to be connected to the network at least once every 24 hours to refresh the token.

0 comments on commit c8cc81d

Please sign in to comment.