You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .web-docs/components/builder/oci/README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -136,7 +136,9 @@ or configured for the default OCI CLI authenticaton profile.
136
136
if present. This cannot be used along with the `use_instance_principals` key.
137
137
138
138
-`key` (string) - The contents of the OCI API signing key. Overrides value provided by the `key_file`.
139
-
This cannot be used along with the `use_instance_principals` key.
139
+
This cannot be used along with the `use_instance_principals` key. The `key` is meant to be used with dynamic secret fetching,
140
+
for example, [`aws_secretsmanager` function](https://developer.hashicorp.com/packer/docs/templates/hcl_templates/functions/contextual/aws_secretsmanager),
141
+
storing secrets in a versioning system should be avoided.
140
142
141
143
-`key_file` (string) - Full path and filename of the OCI API signing key. Overrides value provided
142
144
by the [OCI config file](https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/sdkconfig.htm)
Copy file name to clipboardExpand all lines: docs/builders/oci.mdx
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -143,7 +143,9 @@ or configured for the default OCI CLI authenticaton profile.
143
143
if present. This cannot be used along with the `use_instance_principals` key.
144
144
145
145
-`key` (string) - The contents of the OCI API signing key. Overrides value provided by the `key_file`.
146
-
This cannot be used along with the `use_instance_principals` key.
146
+
This cannot be used along with the `use_instance_principals` key. Also, the `key` is meant to be used with dynamic secret fetching,
147
+
for example, [`aws_secretsmanager` function](https://developer.hashicorp.com/packer/docs/templates/hcl_templates/functions/contextual/aws_secretsmanager),
148
+
storing secrets in a versioning system should be avoided.
147
149
148
150
-`key_file` (string) - Full path and filename of the OCI API signing key. Overrides value provided
149
151
by the [OCI config file](https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/sdkconfig.htm)
0 commit comments