Understanding Automatic Tag Defaults

Use tag defaults to manage resources in your tenancy, including tracking costs by principal name and the date resources are created. In tenancies created after December 17, 2019, two tag defaults are automatically added to the root compartment. These tag defaults apply tags to all resources with the following values: 

  • Name of the principal that created the resource
  • Date the resource was created

Overview of Automatic Tag Defaults

The tag defaults Oracle automatically adds come from a tag namespace called Oracle-Tags, which includes two tag key definitions: 

  • CreatedBy (Cost-tracking tag)
  • CreatedOn

Oracle uses these tags to define two tag defaults in the root compartment of your tenancy. When users create resources in your tenancy, each tag is added to the resource automatically. The values for these tags contain the name of the principal that created the resource and the date and time the resource was created. For more information, see Using Tag Variables.

Required IAM Policy

Automatic tag defaults are two tag defaults, automatically created in the root compartment. To allow users to work with these tag defaults, use the same IAM policy for working with tag defaults. For more information, see Required Permissions for Working with Defined Tags.

If you are new to policies, see Getting Started with Policies and Common Policies. If you want to dig deeper into writing policies for groups or other IAM components, see Details for IAM without Identity Domains.

Working with Automatic Tag Defaults

You can use the cost-tracking tag feature to check usage and set budgets or to filter resources by date. You can remove and update tags automatically applied to resources as you would any other tag. For more information, see Using Cost-Tracking Tags and Resource Tags.

If you no longer want these tags applied to resourced automatically, you can remove the tag defaults that Oracle created. Although Oracle created the tag defaults, they are ordinary tag defaults that you can manage as you would any other. For more information, see Managing Tag Defaults.