docs: def add(ctx, secret, name, issuer, period, oath_type, digits, touch, algorithm,
          counter, force):
      """
      Add a new credential.
  
      This will add a new credential to your YubiKey.
      """
  
      oath_type = OATH_TYPE[oath_type]
      algorithm = ALGO[algorithm]
      digits = int(digits)
  
      if not secret:
          while True:
              secret = click.prompt('Enter a secret key (base32)', err=True)
              try:
                  secret = parse_b32_key(secret)
                  break
              except Exception as e:
                  click.echo(e)
  
      ensure_validated(ctx)
  
      _add_cred(ctx, CredentialData(secret, issuer, name, oath_type, algorithm,
                                    digits, period, counter, touch), force)