Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions messages/secrets-redacted.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,9 @@

[REDACTED] Use 'sf org auth show-user-password' to view

# temp.envVarWorkaround

Secrets are now hidden from '%s' command output. Use the 'sf org auth' commands instead. As a temporary workaround, you can set SF_TEMP_SHOW_SECRETS=true to render these secrets. This workaround will be removed in an upcoming release.

# temp.envVarIsSet

The SF_TEMP_SHOW_SECRETS env var is set. This is a temporary env var to continue to show secrets in the '%s' command output. This workaround will be removed in an upcoming CLI release. Switch to use the 'sf org auth' commands to avoid future disruption.
The SF_TEMP_SHOW_SECRETS env var is set. This is a temporary env var to continue to show secrets in the '%s' command output. This workaround will be removed on January 13, 2027. Switch to use the 'sf org auth' commands to avoid future disruption.

# warning.passwordGenerated

Expand Down
2 changes: 0 additions & 2 deletions src/commands/org/display/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,6 @@ export class DisplayUserCommand extends SfCommand<DisplayUserResult> {
if (showSecretsEnvVarIsSet) {
this.warn(secretsMessages.getMessage('temp.envVarIsSet', ['sf org display user']));
this.warn(messages.getMessage('securityWarning'));
} else {
this.warn(secretsMessages.getMessage('temp.envVarWorkaround', ['sf org display user']));
}

this.log('');
Expand Down
8 changes: 2 additions & 6 deletions src/commands/org/list/users.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,8 @@ export class ListUsersCommand extends SfCommand<ListUsers> {
});

// TODO: Remove after env var workaround is removed
if (this.jsonEnabled()) {
if (showSecretsEnvVarIsSet) {
this.warn(secretsMessages.getMessage('temp.envVarIsSet', ['sf org list users']));
} else {
this.warn(secretsMessages.getMessage('temp.envVarWorkaround', ['sf org list users']));
}
if (this.jsonEnabled() && showSecretsEnvVarIsSet) {
this.warn(secretsMessages.getMessage('temp.envVarIsSet', ['sf org list users']));
}

return authList;
Expand Down
Loading