diff options
Diffstat (limited to 'dcae-cli/dcae_cli/util/config.py')
-rw-r--r-- | dcae-cli/dcae_cli/util/config.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dcae-cli/dcae_cli/util/config.py b/dcae-cli/dcae_cli/util/config.py index d3d9f16..3d6ac0a 100644 --- a/dcae-cli/dcae_cli/util/config.py +++ b/dcae-cli/dcae_cli/util/config.py @@ -110,6 +110,14 @@ def get_server_url(): """ return get_config().get("server_url") +def get_docker_logins_key(): + """Returns the Consul key that Docker logins are stored under + + Default is "docker_plugin/docker_logins" which matches up with the docker + plugin default. + """ + return get_config().get("docker_logins_key", "docker_plugin/docker_logins") + # These functions are used to fetch the configurable path to the various json # schema files used in validation. |