This commit is contained in:
Hong Ooi 2019-08-05 17:26:53 +10:00
Родитель 2bbaf578c8
Коммит 9e0568564a
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -4,10 +4,10 @@ A simple package to access the instance metadata service in an Azure virtual mac
## Accessing metadata
AzureVMmetadata exposes 3 environments that contain the instance metadata for the VM:
AzureVMmetadata exposes three environments that contain the instance metadata for the VM:
- `instance`: The instance metadata, containing 2 components: `compute` and `network`
- `attested`: The attested metadata, containing the base65-encoded PKCS-7 certificate for the VM
- `attested`: The attested metadata, containing the base64-encoded PKCS-7 certificate for the VM
- `events`: The scheduled events for the VM
The first two are automatically populated when the package is loaded; you can also manually update them with the `update_instance_metadata()` and `update_attested_metadata()` functions. `events` is not populated at package startup (it causes the event scheduler service to be started on the VM, which can take up to several minutes), but you can update it manually with `update_scheduled_events()`.
@ -37,7 +37,7 @@ AzureVMmetadata::instance$network$interface$ipv4
AzureVMmetadata::attested$signature
# certificate as an openssl::cert object
get_vm_cert()
AzureVMmetadata::get_vm_cert()
```
----