remove unneeded f-string
@@ -168,11 +168,11 @@ def run(banner: str = checkov_banner, argv: List[str] = sys.argv[1:]) -> Optiona
logger.debug(f'Using API key ending with {config.bc_api_key[-8:]}')
if not bc_integration.is_token_valid(config.bc_api_key):
- raise Exception(f'The provided API key does not appear to be a valid Bridgecrew API key or Prisma Cloud '
- f'access key and secret key. For Prisma, the value must be in the form '
- f'ACCESS_KEY::SECRET_KEY. For Bridgecrew, make sure to copy the token value from when you '
- f'created it, not the token ID visible later on. If you are using environment variables, '
- f'make sure they are properly set and exported.')
+ raise Exception('The provided API key does not appear to be a valid Bridgecrew API key or Prisma Cloud '
+ 'access key and secret key. For Prisma, the value must be in the form '
+ 'ACCESS_KEY::SECRET_KEY. For Bridgecrew, make sure to copy the token value from when you '
+ 'created it, not the token ID visible later on. If you are using environment variables, '
+ 'make sure they are properly set and exported.')
if config.repo_id is None and not config.list:
# if you are only listing policies, then the API key will be used to fetch policies, but that's it,
