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

DEPRECATION Warning: Avoid configuring default LDAP STS Expiry #12781

Merged
merged 1 commit into from
Jul 22, 2021

Conversation

donatello
Copy link
Member

Description

  • Show a notice when MINIO_IDENTITY_LDAP_STS_EXPIRY or the corresponding
    configuration option is used at server startup.

  • Once support is removed, the default will be fixed at 1 hour.

  • Users may specify expiry directly in the STS API.

  • Adds example in ldap.go to configure expiry in STS API.

Motivation and Context

The parameter is now redundant.

How to test this PR?

Use docs/sts/ldap.go. Needs minio/minio-go#1521

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Optimization (provides speedup with no functional changes)
  • Proposed Breaking change

Checklist:

  • Fixes a regression (If yes, please add commit-id or PR # here)
  • Documentation updated
  • Unit tests added/updated

@donatello donatello changed the title DEPRECATION Warning: Avoid configuring default STS Expiry DEPRECATION Warning: Avoid configuring default LDAP STS Expiry Jul 22, 2021
Copy link
Contributor

@kannappanr kannappanr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

- Show a notice when `MINIO_IDENTITY_LDAP_STS_EXPIRY` or the corresponding
configuration option is used at server startup.

- Once support is removed, the default will be fixed at 1 hour.

- Users may specify expiry directly in the STS API.

- Update docs and help message

- Adds example in ldap.go to configure expiry in STS API.
@minio-trusted
Copy link
Contributor

Mint Automation

Test Result
mint-large-bucket.sh ✔️
mint-fs.sh ✔️
mint-gateway-s3.sh ✔️
mint-erasure.sh ✔️
mint-dist-erasure.sh ✔️
mint-zoned.sh ✔️
mint-gateway-nas.sh ✔️
mint-compress-encrypt-dist-erasure.sh ✔️
Deleting image on docker hub
Deleting image locally

@minio minio deleted a comment from minio-trusted Jul 22, 2021
@harshavardhana harshavardhana merged commit 9a31030 into minio:master Jul 22, 2021
@donatello donatello deleted the deprecate-ldap-expiry branch July 22, 2021 23:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants