mirror of
https://opendev.org/openstack/python-openstackclient.git
synced 2026-01-17 07:20:45 +00:00
Rename Openstack to OpenStack
Change-Id: I9e5b245141290a4b642900fbc46b98bd4f44c321
This commit is contained in:
parent
380d78c856
commit
d8bdd2b5ed
1 changed files with 4 additions and 4 deletions
|
|
@ -13,7 +13,7 @@
|
|||
# under the License.
|
||||
#
|
||||
|
||||
"""Keyring backend for Openstack, to store encrypted password in a file."""
|
||||
"""Keyring backend for OpenStack, to store encrypted password in a file."""
|
||||
|
||||
from Crypto.Cipher import AES
|
||||
|
||||
|
|
@ -24,8 +24,8 @@ import os
|
|||
KEYRING_FILE = os.path.join(os.path.expanduser('~'), '.openstack-keyring.cfg')
|
||||
|
||||
|
||||
class OpenstackKeyring(keyring.backends.file.BaseKeyring):
|
||||
"""Openstack Keyring to store encrypted password."""
|
||||
class OpenStackKeyring(keyring.backends.file.BaseKeyring):
|
||||
"""OpenStack Keyring to store encrypted password."""
|
||||
filename = KEYRING_FILE
|
||||
|
||||
def supported(self):
|
||||
|
|
@ -56,5 +56,5 @@ class OpenstackKeyring(keyring.backends.file.BaseKeyring):
|
|||
|
||||
def os_keyring():
|
||||
"""Initialize the openstack keyring."""
|
||||
ring = 'openstackclient.common.openstackkeyring.OpenstackKeyring'
|
||||
ring = 'openstackclient.common.openstackkeyring.OpenStackKeyring'
|
||||
return keyring.core.load_keyring(None, ring)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue