Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement rclone config show --redacted #5209

Closed
ivandeex opened this issue Apr 4, 2021 · 0 comments
Closed

Implement rclone config show --redacted #5209

ivandeex opened this issue Apr 4, 2021 · 0 comments
Assignees
Milestone

Comments

@ivandeex
Copy link
Member

ivandeex commented Apr 4, 2021

The associated forum post URL from https://forum.rclone.org

What is your current rclone version (output from rclone version)?

1.55.0

What problem are you are trying to solve?

Help users easily have a redacted rclone config to quickly submit a ticket.

How do you think rclone should be changed to solve that?

Currently we can mark backend options with Option.IsPassword
which triggers a special interactive prompt during rclone config.

In addition to it we can introduce new Option.Sensitive.
Sensitive options will be redacted by the new command rclone config show --redacted.

@ivandeex ivandeex added this to the Soon milestone Apr 4, 2021
@ivandeex ivandeex self-assigned this Apr 4, 2021
@ivandeex ivandeex modified the milestones: Soon, v1.57 May 6, 2021
@ivandeex ivandeex modified the milestones: v1.57, v1.58 Aug 3, 2021
@ivandeex ivandeex modified the milestones: v1.58, v1.59 Jan 14, 2022
@ivandeex ivandeex modified the milestones: v1.59, v1.60 Feb 13, 2022
@ncw ncw modified the milestones: v1.60, v1.62 Dec 5, 2022
@ncw ncw modified the milestones: v1.62, v1.63 May 9, 2023
@ncw ncw modified the milestones: v1.63, v1.64 Jul 1, 2023
ncw added a commit that referenced this issue Jul 6, 2023
…ted config

This introduces a new fs.Option flag, Sensitive and uses this along
with IsPassword to redact the info in the config file for support
purposes.

It adds this flag into backends where appropriate. It was necessary to
add oauthutil.SharedOptions to some backends as they were missing
them.

Fixes #5209
ncw added a commit that referenced this issue Jul 6, 2023
…ted config

This introduces a new fs.Option flag, Sensitive and uses this along
with IsPassword to redact the info in the config file for support
purposes.

It adds this flag into backends where appropriate. It was necessary to
add oauthutil.SharedOptions to some backends as they were missing
them.

Fixes #5209
@ncw ncw closed this as completed in d0d41fe Jul 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants