Skip to content

Setup Considerations: API access and secrets

Decide how outside systems connect before the first key is issued: keys, registered applications or webhooks, how wide each one’s access is, how long it lasts and who holds the secret.

Every key or registered application a company issues is a way for people data to leave, so the rules need to be settled first. The first decision is the mechanism. A webhook suits a system that needs to know when something happens. Jobs that ask for data use a key, and outside tools acting for a person use a registered application. Access can be as narrow as read-only employee records instead of everything. Each credential also has a lifetime and someone who replaces it. Secrets are shown once, so the company also decides where they are stored and who reviews the list.

Mindelo Ferry Lines is a ferry operator in Cabo Verde. Its finance reporting job and a recruitment partner shared one key. The HR team replaced it with two keys, each limited to reading what its consumer needs, and named each key for what uses it. Retiring the partner’s key now has no effect on the finance report.

See the steps in Humavera