Implement BitwardenLoginCredentialParameter (#151)
This commit is contained in:
@@ -38,6 +38,7 @@ WORKFLOW_RUN_PREFIX = "wr"
|
||||
WORKFLOW_PARAMETER_PREFIX = "wp"
|
||||
AWS_SECRET_PARAMETER_PREFIX = "asp"
|
||||
OUTPUT_PARAMETER_PREFIX = "op"
|
||||
BITWARDEN_LOGIN_CREDENTIAL_PARAMETER_PREFIX = "blc"
|
||||
|
||||
|
||||
def generate_workflow_id() -> str:
|
||||
@@ -65,6 +66,11 @@ def generate_output_parameter_id() -> str:
|
||||
return f"{OUTPUT_PARAMETER_PREFIX}_{int_id}"
|
||||
|
||||
|
||||
def generate_bitwarden_login_credential_parameter_id() -> str:
|
||||
int_id = generate_id()
|
||||
return f"{BITWARDEN_LOGIN_CREDENTIAL_PARAMETER_PREFIX}_{int_id}"
|
||||
|
||||
|
||||
def generate_organization_auth_token_id() -> str:
|
||||
int_id = generate_id()
|
||||
return f"{ORGANIZATION_AUTH_TOKEN_PREFIX}_{int_id}"
|
||||
|
||||
Reference in New Issue
Block a user