Polishing

Switch AwsEc2Properties.identityDocument to URI. Reorder property accessors. Tweak documentation formatting.

Original pull request: gh-495.
Resolves gh-451.
This commit is contained in:
Mark Paluch
2020-09-24 14:20:51 +02:00
parent f95fea8e92
commit 3349c814a2
3 changed files with 29 additions and 23 deletions

View File

@@ -381,8 +381,8 @@ spring.cloud.vault:
azure-msi:
role: my-dev-role
azure-path: azure
metadata-service: http://169.254.169.254/metadata/instance...
identity-token-service: http://169.254.169.254/metadata/identity...
metadata-service: http://169.254.169.254/metadata/instance
identity-token-service: http://169.254.169.254/metadata/identity
----
====
@@ -391,9 +391,12 @@ spring.cloud.vault:
* `metadata-service` sets the URI at which to access the instance metadata service
* `identity-token-service` sets the URI at which to access the identity token service
Azure MSI authentication fetches environmental details about the virtual machine (subscription Id, resource group, VM name) from the instance metadata service. By default, Azure assumes your Vault server has Resource ID `https://vault.hashicorp.com`. To change this, set `spring.cloud.vault.azure-msi.identity-token-service`.
Azure MSI authentication obtains environmental details about the virtual machine (subscription Id, resource group, VM name) from the instance metadata service.
The Vault server has Resource Id defaults to `https://vault.hashicorp.com`.
To change this, set `spring.cloud.vault.azure-msi.identity-token-service` accordingly.
See also:
See also:
* https://www.vaultproject.io/docs/auth/azure.html[Vault Documentation: Using the azure auth backend]
* https://docs.microsoft.com/en-us/azure/virtual-machines/windows/instance-metadata-service[Azure Documentation: Azure Instance Metadata Service]