debian-mirror-gitlab/app/assets/javascripts/token_access/constants.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
439 B
JavaScript
Raw Normal View History

2023-04-23 21:23:45 +05:30
import { helpPagePath } from '~/helpers/help_page_helper';
export const LIMIT_JWT_ACCESS_SNIPPET = `job_name:
id_tokens:
ID_TOKEN_1: # or any other name
aud: "..." # sub-keyword to configure the token's audience
secrets:
TEST_SECRET:
vault: db/prod
`;
export const OPT_IN_JWT_HELP_LINK = helpPagePath('ci/secrets/id_token_authentication', {
anchor: 'automatic-id-token-authentication-with-hashicorp-vault',
});