nerdexam
Microsoft

PL-400 · Question #408

You are creating a plug in that connects to a third-party REST API. The API credentials must be secured so they are visible only to system administrators. The API credentials must not interfere with…

The correct answer is A. Plug-in secure configuration. To securely store API credentials for a plug-in, ensuring they are only visible to system administrators and do not interfere with other functionality, plug-in secure configuration is the appropriate method.

Submitted by minji_kr· Apr 18, 2026

Question

You are creating a plug in that connects to a third-party REST API. The API credentials must be secured so they are visible only to system administrators. The API credentials must not interfere with other system functionality. You need to store the credentials. Which method should you use?

Options

  • APlug-in secure configuration
  • BText environment variable
  • CConnection reference
  • DPlug-in unsecure configuration

How the community answered

(16 responses)
  • A
    81% (13)
  • B
    6% (1)
  • D
    13% (2)

Why each option

To securely store API credentials for a plug-in, ensuring they are only visible to system administrators and do not interfere with other functionality, plug-in secure configuration is the appropriate method.

APlug-in secure configurationCorrect

Plug-in secure configuration is specifically designed to store sensitive data like API keys and credentials, encrypting them and restricting visibility to system administrators. This method ensures that the credentials are tied directly to the plug-in registration and remain isolated from other system components.

BText environment variable

Text environment variables are generally used for non-sensitive application settings and do not provide the necessary security or restricted visibility for API credentials.

CConnection reference

Connection references are used to manage connections to data sources and APIs within Power Apps or Power Automate flows, not as a direct mechanism for securely storing plug-in specific credentials within Dataverse plug-in registrations.

DPlug-in unsecure configuration

Plug-in unsecure configuration stores data in plain text, making it visible to anyone with access to the plug-in registration, which violates the requirement for secure storage of API credentials.

Concept tested: Securing plug-in configuration data in Dataverse

Source: https://learn.microsoft.com/en-us/power-apps/developer/dataverse/plug-ins?tabs=sdk-data#secure-and-unsecure-configuration

Community Discussion

No community discussion yet for this question.

Full PL-400 Practice