Skip to content
Lesson 2 of 80 completed · Sign in to track completionCourse overview →Glossary ↗
Course contents · Scope and identity
  1. 1. Separate the application, provider and target-account boundariesFree
  2. 2. Authenticate the caller without confusing it with AIMWebServiceFree
  3. 3. Grant the provider and application only their documented Safe accessFree account
  4. 4. Build an unambiguous request without exposing the returned secretPremium
  5. 5. Separate retrieval, target authentication and business-operation retriesPremium
  6. 6. Measure outage and revocation separately from cache availabilityPremium
  7. 7. Diagnose the failed boundary and preserve secret-free evidencePremium
  8. 8. Hand over the consumer with explicit recovery and revocation limitsPremium

Authenticate the caller without confusing it with AIMWebService

CCP transport validation, client-certificate authentication and application restrictions are separate checks. Keep the internal AIMWebService identity distinct and test rejected identities before granting retrieval.

30 MIN

By AISecurityInterviews · Updated

Keep a return link on this browser. No account needed.

TL;DR: CCP transport validation, client-certificate authentication and application restrictions are separate checks. Keep the internal AIMWebService identity distinct and test rejected identities before granting retrieval.

Where you are. Step 2 of 8: scope and identity.

Reference and lab. CyberArk Secrets Manager Credential Providers 15.2 public documentation, checked 18 November 2026. This is a documentation reference, not a production release recommendation. The optional product pilot uses an existing, explicitly authorized PAM Self-Hosted training deployment, Windows Credential Provider and direct IIS CCP endpoint. Record actual supported versions and licensing. Product procedures are documentation-checked; no live secret retrieval or tenant configuration was executed. Python exercises run offline on fictional Alderbridge records and do not emulate the product.

Treat AppID as a selector, not a secret

Alderbridge's worker will identify itself as AlderReviewLab. That name chooses the application definition; knowing it must not be sufficient to retrieve a password. The application creation procedure notes that a new application has no authentication method configured by default. Create the owned application definition with its purpose and lifecycle restrictions, then configure authentication before granting access to the account Safe.

For this pilot, the reviewed design combines a client certificate with a narrowly defined allowed machine. The authentication matrix distinguishes supported methods: path and binary-hash authentication belong to the local Credential Provider interface, while CCP supports client-certificate methods. Do not describe a remote Python file's path or hash as a CCP request authentication mechanism. The internal web service's local path and hash are a different check.

Record the certificate issuer, serial identifier, validity, intended caller and private-key custodian. Protect the key through the customer's approved operating-system or hardware-backed key store. An AppID without proof is weak; a private key copied among unrelated services also destroys the intended separation. Do not put the key or an export password in the learning packet.

CCP · ALDERBRIDGE LAB
Transport, caller proof and policy answer different questions

Server trust

Am I at the right service?

Client proof

Who possesses the caller key?

Application

Is this caller allowed here?

Internal service

Can CCP use its provider?

Evidence to retain

Server trust

  • Hostname and trusted chain checked
  • No verification bypass

Client proof

  • Required client certificate on endpoint
  • Approved certificate mapping

Application

  • Configured certificate restriction
  • Narrow allowed-machine evidence

Internal service

  • AIMWebService is a separate AppID
  • Local identity checked independently

Review the endpoint and internal service separately

The web-service configuration reference describes an HTTPS binding and Require SSL in IIS, followed by client-certificate trust and the Accept/Require choice. Alderbridge's dedicated certificate endpoint requires a client certificate. Trusting the server certificate on the worker is not the same as trusting the client certificate issuer on the server. Both directions need their own evidence. The client must retain normal hostname and chain verification; disabling verification to make a lab request succeed invalidates the test.

The same reference contains the certificate-mapping procedure, including role services, mapping configuration and removal of anonymous authentication for that configuration. Have the IIS owner apply and inspect the complete supported procedure in the authorized lab. Merely changing the SSL checkbox is not a complete implementation. Preserve a sanitized before/after configuration review, then test a missing certificate and an unapproved certificate using controlled fixtures owned by the lab.

For the internal AIMWebService application, review its actual DLL path, application-pool OS identity, vendor-derived DLL hash and allowed CCP machine. The AppID in the web service's configuration identifies that internal service, not AlderReviewLab. Replacing it with the caller's name collapses two responsibilities and can break every consumer of the endpoint. A service upgrade also requires rechecking internal identity evidence; removing a hash requirement to clear an error is not an accepted recovery.

Prove the negative cases as well as the allowed caller

Create an evidence matrix with the intended caller, absent client proof, unapproved certificate, wrong allowed machine and wrong application definition. Keep the Safe grant absent while preparing authentication; later repeat the complete matrix with the narrow grant. A rejected request should identify the layer that rejected it. A generic failed HTTP call does not prove all downstream restrictions were reached.

# Illustrative admission conjunction, not a TLS or CCP implementation.
def allowed(e):
    checks = ('server_verified', 'client_proved', 'app_certificate_matches',
              'machine_matches', 'internal_service_verified')
    return all(e.get(k) is True for k in checks)

ok = dict(server_verified=True, client_proved=True,
          app_certificate_matches=True, machine_matches=True,
          internal_service_verified=True)
assert allowed(ok)
for field in ok:
    assert not allowed({**ok, field: False})
print('allowed case and five independent denial cases checked')
# => allowed case and five independent denial cases checked

This model makes each required observation explicit. It does not model certificate-chain construction, revocation, IIS mapping or product policy evaluation. Record actual negative-test results separately, including the endpoint and time. If a request stops at transport, repeat an appropriately scoped test to examine application authorization instead of treating transport rejection as proof of Safe isolation.

Do this before moving on

Prepare the five-case identity matrix and explain which identity belongs in the web-service configuration. Feedback: AIMWebService remains the internal identity; AlderReviewLab belongs to the caller request. Each denied case needs its own observed rejection layer, not one reused error screenshot.

Go deeper

Key takeaways

  • AppID identifies a policy; it is not a credential.
  • Server trust and client-certificate proof are separate checks.
  • Remote CCP callers do not gain local path/hash authentication.
  • The internal service identity needs independent configuration and review.

Check yourself

Say or write your answer first, then reveal. Explaining it from memory, in your own words, is the skill an interviewer is checking.

  1. 1Which identity belongs in the CCP web.config AppID setting?

  2. 2Why is a TLS failure insufficient proof that a wrong Safe is denied?

Sign in to track which lessons you have finished.