Add Vault Tags

Add vault resource tags.

    1. Open the navigation menu, click Identity & Security, and then click Vault.
    2. Under List scope, in the Compartment that contains vault.
    3. On the Vaults page, click the name of the vault to open its details page.
    4. To add tags to the vault, click Add Tags.
    5. To add tags to the vault, enter the following details and then click Add tags.
      • Tag namespace: To add a defined tag, select an existing namespace. To add a free-from tag, leave the value blank.
      • Tag key: To add a defined tag, select an existing tag key. To add a free-form tag, type the key name that you want.
      • Tag value: Type the tag value that you want.
    6. To edit or delete existing tags, click the Tags tab, click the edit icon next to the tag that you want to change or delete, and then make the necessary change.
  • For example, on a MacOS or Linux machine:

    
    oci kms management vault create --compartment-id ocid1.compartment.oc1..example1example25qrlpo4agcmothkbgqgmuz2zzum45ibplooqtabwk3zz --display-name vault-1 --vault-type VIRTUAL_PRIVATE --defined-tags '{"Operations": {"CostCenter": "42"}}' --freeform-tags '{"Department":"Finance"}'

    Or, for example, on a Windows machine:

    
    oci kms management vault create --compartment-id ocid1.compartment.oc1..example1example25qrlpo4agcmothkbgqgmuz2zzum45ibplooqtabwk3zz --display-name vault-1 --vault-type VIRTUAL_PRIVATE --defined-tags '{\"Operations\": {\"CostCenter\":\"42\"}}' --freeform-tags '{\"Department\":\"Finance\"}'

    For a complete list of parameters and values for CLI commands, see KMS CLI Command Reference.

  • This task cannot be performed using the API.