Skip to content

Commit

Permalink
Reword names and decriptions of credentials managers
Browse files Browse the repository at this point in the history
  • Loading branch information
dmach committed Mar 28, 2022
1 parent 8e0e0a9 commit d3f4b7a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions osc/credentials.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,10 @@ def _process_options(self, options):

class PlaintextConfigFileDescriptor(AbstractCredentialsManagerDescriptor):
def name(self):
return 'Config file credentials manager'
return 'Config'

def description(self):
return 'Store the credentials in the config file (plain text)'
return 'Store the password in plain text in the osc config file [insecure, persistent]'

def create(self, cp):
return PlaintextConfigFileCredentialsManager(cp, None)
Expand Down Expand Up @@ -116,10 +116,10 @@ def decode_password(cls, password):

class ObfuscatedConfigFileDescriptor(AbstractCredentialsManagerDescriptor):
def name(self):
return 'Obfuscated Config file credentials manager'
return 'Obfuscated config'

def description(self):
return 'Store the credentials in the config file (obfuscated)'
return 'Store the password in obfuscated form in the osc config file [insecure, persistent]'

def create(self, cp):
return ObfuscatedConfigFileCredentialsManager(cp, None)
Expand Down Expand Up @@ -154,10 +154,10 @@ def __call__(self):

class TransientDescriptor(AbstractCredentialsManagerDescriptor):
def name(self):
return 'Transient password store'
return 'Transient'

def description(self):
return 'Do not store the password and always ask for the password'
return 'Do not store the password and always ask for it [secure, in-memory]'

def create(self, cp):
return TransientCredentialsManager(cp, None)
Expand Down

0 comments on commit d3f4b7a

Please sign in to comment.