Change app registry to use the credentials verification system
Allows for tokens, OAuth tokens and robot accounts to be used as well Fixes https://jira.prod.coreos.systems/browse/QS-36
This commit is contained in:
parent
aa49b37ad2
commit
3bf8973fd9
3 changed files with 13 additions and 7 deletions
|
@ -13,6 +13,7 @@ logger = logging.getLogger(__name__)
|
|||
ACCESS_TOKEN_USERNAME = '$token'
|
||||
OAUTH_TOKEN_USERNAME = '$oauthtoken'
|
||||
|
||||
|
||||
class CredentialKind(Enum):
|
||||
user = 'user'
|
||||
robot = 'robot'
|
||||
|
|
Reference in a new issue