Skip to content

Commit cd15714

Browse files
committed
Comments about region_name and project_id.
Signed-off-by: Kurt Garloff <kurt@garloff.de>
1 parent 3688f01 commit cd15714

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

04-cloud-secret.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ OS_CACERT="${OS_CACERT:-$CA}"
2929
# Extract auth parts from secure.yaml if existent, assume same indentation
3030
SEC_YAML="${CLOUDS_YAML%clouds.yaml}secure.yaml"
3131
if test -r "$SEC_YAML"; then SECRETS=$(RMVTREE=1 RMVCOMMENT=1 extract_yaml clouds.$OS_CLOUD.auth < $SEC_YAML || true); fi
32+
# TODO:
33+
# We need a project_id in auth, determine it and add
34+
# - Alternative would be to create an application credential
35+
# TODO:
36+
# We need a region_name, add it in
37+
#
3238
# Construct a clouds.yaml (mode 0600):
3339
# - Only extracting one cloud addressed by $OS_CLOUD
3440
# - By merging secrets in from secure.yaml

0 commit comments

Comments
 (0)