We use optional first-party traffic analytics to improve the blog. You can accept or decline — nothing is measured before you choose.

Privacy policy

Skip to content
NyverraNyverra
⌘K
HomeArticlesCorporate site
🇺🇸
Nyverra

Editorial channel

Articles on technology, operations and partners — infrastructure, monitoring and critical environments.

Social media

Explore

  • Home
  • Articles
  • Categories
  • Tags
  • Authors
  • About
  • Contact
  • RSS
  • Corporate site

Nyverra

  • Our services
  • Case studies
  • Partners

Contact

Email[email protected]WhatsApp(62) 99309-1592Client portalITSM · tickets and SLA

Rua RB 18, S/N — Casa 01, Sala 01 · Residencial Buriti · Senador Canedo – GO, Brazil · ZIP 75260-459

Hours: Mon–Fri, 8am–6pm

© 2026 Nyverra. All rights reserved.

CNPJ: 61.571.209/0001-08 · State registration: 20.291.265-5 · D-U-N-S®: 57-323-5796

blog.nyverra.com.br

Terms of usePrivacyCookies
Back to top
  1. Home
  2. Portal ITSM
  3. API Keys in Nyverra Portal: Machine-to-Machine Integration with Control
Portal ITSMTutoriais
#tutorial#Portal Nyverra#Compliance#Controle de Acesso

API Keys in Nyverra Portal: Machine-to-Machine Integration with Control

Wedson LopesWedson Lopes
31 de outubro de 20265 min de leitura

Every mature operation eventually runs into the same request: "integrate the portal with our system." Whether it's an import script, an external dashboard, or a monitoring connector, integrations need their own credentials — not an employee's password. That's what the API Keys of the Nyverra ITSM Portal are for.

This guide explains what they are, how scopes work, how to use them in the REST API, and why the Developer Portal is the integrator's starting point.

API Keys in Nyverra Portal: machine-to-machine integration with control — Nyverra ITSM PortalModule interface in Nyverra ITSM Portal.

What is an API Key

It is a credential that authenticates machine-to-machine (M2M) calls to the Portal API, without a user session. Instead of "logging in as someone," the integrating system presents the key and receives access according to the scopes granted.

This brings three immediate advantages: segregation (the integration is not a person), control (the key has limited scope), and traceability (actions remain associated with the key).

Scopes: what the key can do

A good API Key does not have full access — it has what is necessary. In the Nyverra Portal, operations are protected by scopes, for example:

Scope Allows
posts:read / posts:write Read and create/update content
taxonomy:read / taxonomy:write Read and create categories/tags
media:write Upload files/media
ai:generate Use content generation features
posts:delete / posts:purge Delete (with and without recovery)

Applying the least scope is what reduces the damage in case the key leaks.

How to use in the REST API

The API accepts the key in a header, generally as Authorization: Bearer <key> or X-API-Key: <key>. The Developer Portal (API documentation) brings together endpoints, parameters and examples — and, in the case of the blog, there is a dedicated interactive reference.

Who uses it

Profile Use
Developer / integrator Consumes the API with the key
Administrator Creates, scopes, deactivates and rotates keys

How to use: step by step

  1. Create a key per integration (never one for everything).
  2. Apply the least scope necessary.
  3. Store in a secrets vault — never in code or Git.
  4. Use the key in the header of the calls.
  5. Monitor usage and rotate periodically.
  6. Revoke the key when deactivating the integration.

Business rules and security

Rule Explanation
One key per system Makes it easy to revoke without affecting other integrations.
Least scope Limits the impact of a leak.
Rotation Reduce the exposure window; change keys periodically.
Never version Keys in the repository are a leak waiting to happen.
Audit Key usage must be logged and monitored.

Best practices

  • Treat the API Key as a sensitive credential: vault, not code.
  • Rotate regularly and revoke idle keys.
  • Use scopes to separate read from write and limit deletions.
  • Prefer distinct keys per environment (staging ≠ production).
  • Document which integration uses which key.

Common errors

Situation What to do
“The key can do everything” Rescope: apply the least privilege.
Key in the repository Revoke immediately and move to the vault.
Old forgotten key Review and revoke unused keys.
Error API_KEY_SCOPE_DENIED Missing scope for the operation; adjust the key.

Frequently asked questions

Does an API Key replace user login?
For M2M integrations, yes; for human use, no.

Can I use the same key in two systems?
Technically yes, but it is bad practice — it makes it difficult to revoke and audit.

Where do I see the endpoints?
In the Developer Portal / REST API documentation.

Use cases: real integrations

1. Synchronization with external system. A nightly script imports data from another system using a key with read-only scope — reducing what a leak could expose.

2. Monitoring connector. Zabbix creates tickets via API with a dedicated write key, separate from any human credential.

3. Automation with agent. AI tools or reports use ai:generate and specific scopes, without access to deletions.

KPIs and key governance

Indicator What it reveals
Active keys per integration Inventory of M2M accesses
Age of last rotation Security posture
Keys with broad scope Risk of excessive privilege
Keys without recent use Candidates for revocation

Response to exposed key incident

If a key leaks, time matters. The script: revoke immediately, create a new one with least scope, update the integration and investigate misuse through audit. Use separate scopes so that rotating one integration does not affect the others — and never version keys. Treating the API Key as a first-class credential is what allows the company to open the API without opening a security flank.

API Keys checklist

  1. One key per integration.
  2. Apply the least scope.
  3. Store in a secrets vault.
  4. Rotate periodically.
  5. Monitor usage.
  6. Revoke idle keys.

Additional frequently asked questions

Where to use the key?
In the Authorization or X-API-Key header of calls.

Can I use the same key in testing and production?
Better not; separate by environment.

What to do if it leaks?
Revoke immediately, create a new one, and investigate through audit.

Conclusion

With well-managed API Keys, the Nyverra ITSM Portal integrates securely without relying on human credentials. Least scopes, rotation, and audit turn “opening the API” into a controlled and sustainable integration.

Leia também: Roles and Permissions in Nyverra Portal: Tailored Access Control · User Management in the Nyverra Portal: Right Access, Right Person.

Share

Keep reading

Read also

  • Roles and Permissions in Nyverra Portal: Tailored Access Control
    Portal ITSM

    Roles and Permissions in Nyverra Portal: Tailored Access Control

    RBAC is the foundation of access control. See how the Roles module in Nyverra Portal ITSM defines granular profiles and permissions, protects sensitive functions with 2FA, enables temporary delegation by period, and relies on the principle of least privilege.

    31 de outubro de 20265 min de leitura
  • User Management in the Nyverra Portal: Right Access, Right Person
    Portal ITSM

    User Management in the Nyverra Portal: Right Access, Right Person

    User is the system's entry key. See how the Nyverra ITSM Portal manages accounts, status, and security: base profiles, groups, per-client scope, 2FA reset, password change on first access, and corporate identity (SSO/LDAP/SAML).

    31 de outubro de 20266 min de leitura
  • Reports in the Nyverra Portal: Evidence to Decide and Prove
    Portal ITSM

    Reports in the Nyverra Portal: Evidence to Decide and Prove

    Indicators that don't lead to action are just numbers. See how the Nyverra ITSM Portal generates executive reports, client and contract extracts, hours per technician, email scheduling, and history — the evidence that management and compliance demand.

    31 de outubro de 20265 min de leitura

Nyverra

Need specialist help?

  • Infrastructure services
  • Case studies
  • Partners

Comments

No comments yet

Be the first to share your thoughts on this article.

Leave a comment

Newsletter

Get new articles

Subscribe to receive Nyverra blog posts in your inbox. We will send a confirmation link.

​