minio/cmd
Andreas Auernhammer 09626d78ff
automatically generate root credentials with KMS (#19025)
With this commit, MinIO generates root credentials automatically
and deterministically if:

 - No root credentials have been set.
 - A KMS (KES) is configured.
 - API access for the root credentials is disabled (lockdown mode).

Before, MinIO defaults to `minioadmin` for both the access and
secret keys. Now, MinIO generates unique root credentials
automatically on startup using the KMS.

Therefore, it uses the KMS HMAC function to generate pseudo-random
values. These values never change as long as the KMS key remains
the same, and the KMS key must continue to exist since all IAM data
is encrypted with it.

Backward compatibility:

This commit should not cause existing deployments to break. It only
changes the root credentials of deployments that have a KMS configured
(KES, not a static key) but have not set any admin credentials. Such
implementations should be rare or not exist at all.

Even if the worst case would be updating root credentials in mc
or other clients used to administer the cluster. Root credentials
are anyway not intended for regular S3 operations.

Signed-off-by: Andreas Auernhammer <github@aead.dev>
2024-03-01 13:09:42 -08:00
..
testdata Add support of conf file to pass arguments and options (#18592) 2023-12-07 01:33:56 -08:00
acl-handlers.go Update to minio/pkg/v2 (#17967) 2023-09-04 12:57:37 -07:00
admin-bucket-handlers.go automatically generate root credentials with KMS (#19025) 2024-03-01 13:09:42 -08:00
admin-handler-utils.go automatically generate root credentials with KMS (#19025) 2024-03-01 13:09:42 -08:00
admin-handlers_test.go use typos instead of codespell (#19088) 2024-02-21 22:26:06 -08:00
admin-handlers-config-kv.go log: Use error log type instead of Application/MinIO type (#18930) 2024-02-01 16:13:57 -08:00
admin-handlers-idp-config.go log: Use error log type instead of Application/MinIO type (#18930) 2024-02-01 16:13:57 -08:00
admin-handlers-idp-ldap.go log: Use error log type instead of Application/MinIO type (#18930) 2024-02-01 16:13:57 -08:00
admin-handlers-pools.go Add support of conf file to pass arguments and options (#18592) 2023-12-07 01:33:56 -08:00
admin-handlers-site-replication.go fix: No shallow copy needed when looking at r.Form (#18499) 2023-11-24 09:46:55 -08:00
admin-handlers-users_test.go Convert service account add/update expiration to cond values (#19024) 2024-02-12 08:36:16 -08:00
admin-handlers-users-race_test.go Update to minio/pkg/v2 (#17967) 2023-09-04 12:57:37 -07:00
admin-handlers-users.go cachevalue: simplify exported interface (#19137) 2024-02-28 09:09:09 -08:00
admin-handlers.go use typos instead of codespell (#19088) 2024-02-21 22:26:06 -08:00
admin-heal-ops.go log: Add logger.Event to send to console and other logger targets (#19060) 2024-02-15 15:13:30 -08:00
admin-router.go add new update v2 that updates per node, allows idempotent behavior (#18859) 2024-01-26 08:40:13 -08:00
admin-server-info.go remove unnecessary metrics in 'mc admin info' output (#19020) 2024-02-08 19:28:46 -08:00
api-datatypes.go fix: audit log to support object names in multipleObjectNames() handler (#14017) 2022-01-03 01:28:52 -08:00
api-errors_test.go Improve ListObject Compatibility (#18099) 2023-09-25 08:13:08 -07:00
api-errors.go use typos instead of codespell (#19088) 2024-02-21 22:26:06 -08:00
api-headers_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
api-headers.go completely remove drive caching layer from gateway days (#18217) 2023-10-11 21:18:17 -07:00
api-resources_test.go
api-resources.go allow prefix/markers to have '/' in the beginning to throw an empty (#17373) 2023-06-07 11:25:26 -07:00
api-response_test.go
api-response.go use typos instead of codespell (#19088) 2024-02-21 22:26:06 -08:00
api-router.go Update API label names for metrics (#19162) 2024-02-29 16:14:27 -08:00
api-utils_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
api-utils.go cleanup ignored static analysis (#16767) 2023-03-06 08:56:10 -08:00
apierrorcode_string.go use typos instead of codespell (#19088) 2024-02-21 22:26:06 -08:00
auth-handler_test.go use typos instead of codespell (#19088) 2024-02-21 22:26:06 -08:00
auth-handler.go sr: use site replicator svcacct to sign STS session tokens (#19111) 2024-02-26 13:30:28 -08:00
authtype_string.go Signed trailers for signature v4 (#16484) 2023-05-05 19:53:12 -07:00
background-heal-ops.go initialize the disk healer early on (#19143) 2024-02-27 23:02:14 -08:00
background-newdisks-heal-ops_gen_test.go
background-newdisks-heal-ops_gen.go heal: Add skipped objects to the heal summary (#19142) 2024-02-28 09:05:40 -08:00
background-newdisks-heal-ops.go fallback to globalLocalDrives for non-distributed setups 2024-02-28 14:56:08 -08:00
batch-expire_gen_test.go Implement batch-expiration for objects (#17946) 2023-12-02 02:51:33 -08:00
batch-expire_gen.go Implement batch-expiration for objects (#17946) 2023-12-02 02:51:33 -08:00
batch-expire_test.go add codespell action (#18818) 2024-01-17 23:03:17 -08:00
batch-expire.go fix: race in deleting objects during batch expiry (#19054) 2024-02-14 08:07:44 -08:00
batch-handlers_gen_test.go Reuse types for key-value, notification and retry (#17936) 2023-08-29 11:27:23 -07:00
batch-handlers_gen.go Implement batch-expiration for objects (#17946) 2023-12-02 02:51:33 -08:00
batch-handlers.go fix: update batch replication stats for snowball uploads (#19045) 2024-02-13 07:33:27 -08:00
batch-job-common-types_gen_test.go Implement batch-expiration for objects (#17946) 2023-12-02 02:51:33 -08:00
batch-job-common-types_gen.go Implement batch-expiration for objects (#17946) 2023-12-02 02:51:33 -08:00
batch-job-common-types_test.go Add line, col to types used in batch-expire (#18747) 2024-01-08 15:22:28 -08:00
batch-job-common-types.go batch: Fix a typo while validating smallerThan field (#18942) 2024-02-01 13:53:26 -08:00
batch-replicate_gen_test.go Reuse types for key-value, notification and retry (#17936) 2023-08-29 11:27:23 -07:00
batch-replicate_gen.go Implement batch snowball (#18485) 2023-11-22 10:51:46 -08:00
batch-replicate.go Implement batch snowball (#18485) 2023-11-22 10:51:46 -08:00
batch-rotate_gen_test.go Reuse types for key-value, notification and retry (#17936) 2023-08-29 11:27:23 -07:00
batch-rotate_gen.go Implement batch-expiration for objects (#17946) 2023-12-02 02:51:33 -08:00
batch-rotate.go Implement batch-expiration for objects (#17946) 2023-12-02 02:51:33 -08:00
batchjobmetric_string.go Implement batch-expiration for objects (#17946) 2023-12-02 02:51:33 -08:00
benchmark-utils_test.go avoid locks for internal and invalid buckets in MakeBucket() (#16302) 2022-12-23 07:46:00 -08:00
bitrot_test.go remove checkBucketExist check entirely to avoid fan-out calls (#18917) 2024-01-30 12:43:25 -08:00
bitrot-streaming.go remove all the frivolous logs, that may or may not be actionable (#18922) 2024-01-30 18:11:45 -08:00
bitrot-whole.go remove all the frivolous logs, that may or may not be actionable (#18922) 2024-01-30 18:11:45 -08:00
bitrot.go remove checkBucketExist check entirely to avoid fan-out calls (#18917) 2024-01-30 12:43:25 -08:00
bootstrap-messages.go allow bootstrap to capture time-spent for each initializers (#17900) 2023-08-23 03:07:06 -07:00
bootstrap-peer-server_gen_test.go migrate bootstrap logic directly to websockets (#18855) 2024-01-24 13:36:44 -08:00
bootstrap-peer-server_gen.go migrate bootstrap logic directly to websockets (#18855) 2024-01-24 13:36:44 -08:00
bootstrap-peer-server.go Improve object reuse for grid messages (#18940) 2024-02-01 12:41:20 -08:00
bucket-encryption_test.go
bucket-encryption-handlers.go automatically generate root credentials with KMS (#19025) 2024-03-01 13:09:42 -08:00
bucket-encryption.go remove gateway completely (#15929) 2022-10-24 17:44:15 -07:00
bucket-handlers_test.go use typos instead of codespell (#19088) 2024-02-21 22:26:06 -08:00
bucket-handlers.go relax pre-emptive GetBucketInfo() for multi-object delete (#19035) 2024-02-12 08:46:46 -08:00
bucket-lifecycle_test.go fix: for unexpected errors in reading versioning config panic (#14994) 2022-05-31 02:57:57 -07:00
bucket-lifecycle-audit.go skip ILM expired objects from healing (#18569) 2023-12-01 07:56:24 -08:00
bucket-lifecycle-handlers_test.go more compliance related fixes (#17408) 2023-06-13 13:52:33 -07:00
bucket-lifecycle-handlers.go Replicate Expiry ILM configs while site replication (#18130) 2023-11-21 09:48:06 -08:00
bucket-lifecycle.go initialize the disk healer early on (#19143) 2024-02-27 23:02:14 -08:00
bucket-listobjects-handlers.go use typos instead of codespell (#19088) 2024-02-21 22:26:06 -08:00
bucket-metadata_gen_test.go
bucket-metadata_gen.go Add updatedAt for GetBucketLifecycleConfig (#17271) 2023-05-24 22:52:39 -07:00
bucket-metadata-sys.go optimize startup sequence performance (#19009) 2024-02-08 11:21:21 -08:00
bucket-metadata.go optimize startup sequence performance (#19009) 2024-02-08 11:21:21 -08:00
bucket-notification-handlers.go Update to minio/pkg/v2 (#17967) 2023-09-04 12:57:37 -07:00
bucket-object-lock.go Update to minio/pkg/v2 (#17967) 2023-09-04 12:57:37 -07:00
bucket-policy-handlers_test.go add codespell action (#18818) 2024-01-17 23:03:17 -08:00
bucket-policy-handlers.go Update to minio/pkg/v2 (#17967) 2023-09-04 12:57:37 -07:00
bucket-policy.go sts: Add support of AssumeRoleWithWebIdentity and DurationSeconds (#18835) 2024-02-05 11:44:23 -08:00
bucket-quota.go cachevalue: simplify exported interface (#19137) 2024-02-28 09:09:09 -08:00
bucket-replication_test.go reduce all major allocations in replication path (#18032) 2023-09-16 02:28:06 -07:00
bucket-replication-handlers.go Reload replication targets lazily if missing (#18333) 2023-10-27 21:08:53 -07:00
bucket-replication-metrics_gen_test.go metrics: add replication metrics on proxied requests (#18957) 2024-02-05 22:00:45 -08:00
bucket-replication-metrics_gen.go metrics: add replication metrics on proxied requests (#18957) 2024-02-05 22:00:45 -08:00
bucket-replication-metrics.go metrics: add replication metrics on proxied requests (#18957) 2024-02-05 22:00:45 -08:00
bucket-replication-stats.go use typos instead of codespell (#19088) 2024-02-21 22:26:06 -08:00
bucket-replication-utils_gen_test.go replication: improve MRF healing. (#15556) 2022-08-22 16:53:06 -07:00
bucket-replication-utils_gen.go replication: Simplify mrf requeueing and add backlog handler (#17171) 2023-07-12 23:51:33 -07:00
bucket-replication-utils_test.go reduce logging in bucket replication in retry scenarios (#17820) 2023-08-08 13:27:40 -07:00
bucket-replication-utils.go add codespell action (#18818) 2024-01-17 23:03:17 -08:00
bucket-replication.go fix: found races in accessing globalLocalDrives (#19069) 2024-02-16 17:15:57 -08:00
bucket-stats_gen_test.go Add additional info for replication metrics API (#17293) 2023-08-30 01:00:59 -07:00
bucket-stats_gen.go metrics: add replication metrics on proxied requests (#18957) 2024-02-05 22:00:45 -08:00
bucket-stats.go metrics: add replication metrics on proxied requests (#18957) 2024-02-05 22:00:45 -08:00
bucket-targets.go Verify that remote target bucket is on MinIO server for bucket replication (#18656) 2024-01-11 14:56:16 -08:00
bucket-versioning-handler.go Update to minio/pkg/v2 (#17967) 2023-09-04 12:57:37 -07:00
bucket-versioning.go remove gateway completely (#15929) 2022-10-24 17:44:15 -07:00
build-constants.go update '-v' flag behavior to include copyRight and license (#15097) 2022-06-16 16:10:48 -07:00
callhome.go add codespell action (#18818) 2024-01-17 23:03:17 -08:00
common-main_test.go Remove deprecated io/ioutil (#15707) 2022-09-19 11:05:16 -07:00
common-main.go automatically generate root credentials with KMS (#19025) 2024-03-01 13:09:42 -08:00
config-common.go feat: SSE-KMS use uuid instead of read all data to md5. (#17958) 2023-09-18 10:00:54 -07:00
config-current_test.go Avoid config migration on every startup (#16278) 2022-12-19 11:10:14 -08:00
config-current.go automatically generate root credentials with KMS (#19025) 2024-03-01 13:09:42 -08:00
config-dir.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
config-encrypted_test.go Bump up madmin-go and pkg deps (#17469) 2023-06-19 17:53:08 -07:00
config-migrate.go Remove unused config migration (#18277) 2023-10-18 11:05:24 -07:00
config-versions.go Remove unused config migration (#18277) 2023-10-18 11:05:24 -07:00
config.go allow bootstrap to capture time-spent for each initializers (#17900) 2023-08-23 03:07:06 -07:00
consolelogger.go log: Use error log type instead of Application/MinIO type (#18930) 2024-02-01 16:13:57 -08:00
copy-part-range_test.go
copy-part-range.go feat: Deprecate embedded browser and import console (#12460) 2021-06-17 20:27:04 -07:00
crossdomain-xml-handler_test.go fix: set request ID in tracing context key (#17602) 2023-07-08 07:31:42 -07:00
crossdomain-xml-handler.go fix: set request ID in tracing context key (#17602) 2023-07-08 07:31:42 -07:00
data-scanner_test.go initialize the disk healer early on (#19143) 2024-02-27 23:02:14 -08:00
data-scanner-metric.go Add abandoned folder scanning to metrics (#18076) 2023-09-24 22:15:31 -07:00
data-scanner.go initialize the disk healer early on (#19143) 2024-02-27 23:02:14 -08:00
data-usage_test.go Add more size intervals to obj size histogram (#18772) 2024-01-12 23:51:08 -08:00
data-usage-cache_gen_test.go Add more size intervals to obj size histogram (#18772) 2024-01-12 23:51:08 -08:00
data-usage-cache_gen.go Add more size intervals to obj size histogram (#18772) 2024-01-12 23:51:08 -08:00
data-usage-cache_test.go Add more size intervals to obj size histogram (#18772) 2024-01-12 23:51:08 -08:00
data-usage-cache.go add codespell action (#18818) 2024-01-17 23:03:17 -08:00
data-usage-utils.go add total usable capacity, free and used to DataUsageInfo() (#18921) 2024-01-30 17:49:37 -08:00
data-usage.go cachevalue: simplify exported interface (#19137) 2024-02-28 09:09:09 -08:00
decommetric_string.go Add trace support for decommissioning (#15502) 2022-08-10 12:46:45 -07:00
dummy-data-generator_test.go Remove deprecated io/ioutil (#15707) 2022-09-19 11:05:16 -07:00
dummy-handlers.go Update to minio/pkg/v2 (#17967) 2023-09-04 12:57:37 -07:00
dynamic-timeouts_test.go Revert "Revert "tests: Add context cancelation (#15374)"" 2022-10-14 03:08:40 -07:00
dynamic-timeouts.go change default lock retry interval to 50ms (#15560) 2022-08-19 16:21:05 -07:00
encryption-v1_test.go validate correct ETag for the parts sent during CompleteMultipart (#15751) 2022-09-23 21:17:08 -07:00
encryption-v1.go automatically generate root credentials with KMS (#19025) 2024-03-01 13:09:42 -08:00
endpoint_contrib_test.go
endpoint_test.go treat all localhost endpoints as local setup with same port (#18784) 2024-01-12 23:53:03 -08:00
endpoint-ellipses_test.go Add support of conf file to pass arguments and options (#18592) 2023-12-07 01:33:56 -08:00
endpoint-ellipses.go Add support of conf file to pass arguments and options (#18592) 2023-12-07 01:33:56 -08:00
endpoint.go ignore x-amz-storage-class when its set to STANDARD (#19154) 2024-02-28 17:44:30 -08:00
erasure_test.go test: use T.TempDir to create temporary test directory (#15400) 2022-07-25 12:37:26 -07:00
erasure-coding.go remove all the frivolous logs, that may or may not be actionable (#18922) 2024-01-30 18:11:45 -08:00
erasure-common.go further bootstrap/startup optimization for reading 'format.json' (#18868) 2024-01-25 12:45:46 -08:00
erasure-decode_test.go remove checkBucketExist check entirely to avoid fan-out calls (#18917) 2024-01-30 12:43:25 -08:00
erasure-decode.go remove all the frivolous logs, that may or may not be actionable (#18922) 2024-01-30 18:11:45 -08:00
erasure-encode_test.go remove checkBucketExist check entirely to avoid fan-out calls (#18917) 2024-01-30 12:43:25 -08:00
erasure-encode.go remove all the frivolous logs, that may or may not be actionable (#18922) 2024-01-30 18:11:45 -08:00
erasure-errors.go Replaces 'disk'=>'drive' visible to end user (#15464) 2022-08-04 16:10:08 -07:00
erasure-heal_test.go remove checkBucketExist check entirely to avoid fan-out calls (#18917) 2024-01-30 12:43:25 -08:00
erasure-healing_test.go use typos instead of codespell (#19088) 2024-02-21 22:26:06 -08:00
erasure-healing-common_test.go remove checkBucketExist check entirely to avoid fan-out calls (#18917) 2024-01-30 12:43:25 -08:00
erasure-healing-common.go use typos instead of codespell (#19088) 2024-02-21 22:26:06 -08:00
erasure-healing.go remove unnecessary 'recreate' code (#19136) 2024-02-27 01:47:58 -08:00
erasure-metadata_test.go Return successorModTime in quorum when available (#17925) 2023-09-04 08:24:17 -07:00
erasure-metadata-utils_test.go add codespell action (#18818) 2024-01-17 23:03:17 -08:00
erasure-metadata-utils.go remove all the frivolous logs, that may or may not be actionable (#18922) 2024-01-30 18:11:45 -08:00
erasure-metadata.go fix: relax metadata checks for healing (#19165) 2024-02-29 22:49:01 -08:00
erasure-multipart.go ignore x-amz-storage-class when its set to STANDARD (#19154) 2024-02-28 17:44:30 -08:00
erasure-object_test.go remove checkBucketExist check entirely to avoid fan-out calls (#18917) 2024-01-30 12:43:25 -08:00
erasure-object.go ignore x-amz-storage-class when its set to STANDARD (#19154) 2024-02-28 17:44:30 -08:00
erasure-server-pool-decom_gen_test.go fix: simplify usage calculation and progress (#14086) 2022-01-11 18:48:43 -08:00
erasure-server-pool-decom_gen.go decom IAM, Bucket metadata properly (#15220) 2022-07-04 14:02:54 -07:00
erasure-server-pool-decom_test.go fix: A typo in per pool make/delete bucket errs calculation (#17553) 2023-07-03 09:47:40 -07:00
erasure-server-pool-decom.go log: Add logger.Event to send to console and other logger targets (#19060) 2024-02-15 15:13:30 -08:00
erasure-server-pool-rebalance_gen_test.go feat: introduce pool-level rebalance (#15483) 2022-10-25 12:36:57 -07:00
erasure-server-pool-rebalance_gen.go feat: introduce pool-level rebalance (#15483) 2022-10-25 12:36:57 -07:00
erasure-server-pool-rebalance.go log: Add logger.Event to send to console and other logger targets (#19060) 2024-02-15 15:13:30 -08:00
erasure-server-pool.go fix: make sure maintenance=true is honored properly (#19156) 2024-02-29 08:37:57 -08:00
erasure-sets_test.go do not have to use the same distributionAlgo as first pool (#19031) 2024-02-11 23:21:56 -08:00
erasure-sets.go fix: re-use endpoint strings to avoid allocation during audit (#19116) 2024-02-23 16:19:13 -08:00
erasure-utils.go remove all the frivolous logs, that may or may not be actionable (#18922) 2024-01-30 18:11:45 -08:00
erasure.go fix: make sure maintenance=true is honored properly (#19156) 2024-02-29 08:37:57 -08:00
etcd.go Print certain log messages once per error (#17484) 2023-06-24 20:29:13 -07:00
event-notification.go Send a bucket notification event on DeleteObject() for non-existing object (#19037) 2024-02-13 07:34:17 -08:00
format_string.go
format-erasure_test.go add codespell action (#18818) 2024-01-17 23:03:17 -08:00
format-erasure.go fix: revert allow offline disks on fresh start (#19052) 2024-02-14 10:37:34 -08:00
format-meta.go
ftp-server-driver.go avoid close 'nil' panics if any (#18890) 2024-01-28 10:04:17 -08:00
ftp-server.go log: Add logger.Event to send to console and other logger targets (#19060) 2024-02-15 15:13:30 -08:00
generic-handlers_contrib.go
generic-handlers_test.go perf: websocket grid connectivity for all internode communication (#18461) 2023-11-20 17:09:35 -08:00
generic-handlers.go add codespell action (#18818) 2024-01-17 23:03:17 -08:00
global-heal.go heal: Add skipped objects to the heal summary (#19142) 2024-02-28 09:05:40 -08:00
globals.go debug: introduce support for configuring client connect WRITE deadline (#19170) 2024-03-01 08:00:42 -08:00
grid.go migrate bootstrap logic directly to websockets (#18855) 2024-01-24 13:36:44 -08:00
handler-api.go fix: parsing v2 and v1 cgroup memory limit (#19153) 2024-02-28 14:52:20 -08:00
handler-utils_test.go use typos instead of codespell (#19088) 2024-02-21 22:26:06 -08:00
handler-utils.go debug: introduce support for configuring client connect WRITE deadline (#19170) 2024-03-01 08:00:42 -08:00
hasher.go use crypto/sha256 only for FIPS 140-2 compliance (#14983) 2022-05-27 06:00:19 -07:00
healingmetric_string.go Check for abandoned data when healing (#16122) 2022-11-28 10:20:55 -08:00
healthcheck-handler.go converge clusterRead health into cluster health (#19063) 2024-02-15 16:48:36 -08:00
healthcheck-router.go migrate to minio/mux from gorilla/mux (#16456) 2023-01-23 16:42:47 +05:30
http-stats.go move bucket centric metrics to /minio/v2/metrics/bucket handlers (#17663) 2023-07-18 22:25:12 -07:00
http-tracer_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
http-tracer.go perf: websocket grid connectivity for all internode communication (#18461) 2023-11-20 17:09:35 -08:00
httprange_test.go fix: consistent replies for incorrect range requests on replicated buckets (#14345) 2022-03-08 13:58:55 -08:00
httprange.go Revert "don't error when asked for 0-based range on empty objects (#17708) (#17713) 2023-07-24 07:56:28 -07:00
iam-etcd-store_test.go
iam-etcd-store.go Add "name" and "description" params to service acc (#17172) 2023-05-17 17:05:36 -07:00
iam-object-store.go avoid close 'nil' panics if any (#18890) 2024-01-28 10:04:17 -08:00
iam-store.go sr: use site replicator svcacct to sign STS session tokens (#19111) 2024-02-26 13:30:28 -08:00
iam.go sr: use site replicator svcacct to sign STS session tokens (#19111) 2024-02-26 13:30:28 -08:00
is-dir-empty_linux.go xl: Avoid called getdents for folders in listing (#19100) 2024-03-01 08:01:28 -08:00
is-dir-empty_other.go xl: Avoid called getdents for folders in listing (#19100) 2024-03-01 08:01:28 -08:00
jwt_test.go allow root user to be disabled via config settings (#17089) 2023-04-28 12:24:14 -07:00
jwt.go reject expired STS credentials early without decoding sessionToken (#19072) 2024-02-19 07:34:10 -08:00
kms-handlers.go automatically generate root credentials with KMS (#19025) 2024-03-01 13:09:42 -08:00
kms-router.go update minio/kes-go dep to v0.2.0 (#17850) 2023-08-19 07:37:53 -07:00
last-minute_gen_test.go Add detailed scanner metrics (#15161) 2022-07-05 14:45:49 -07:00
last-minute_gen.go Add detailed scanner metrics (#15161) 2022-07-05 14:45:49 -07:00
last-minute.go Do lockless last minute latency metrics (#17576) 2023-07-05 10:40:45 -07:00
lceventsrc_string.go skip ILM expired objects from healing (#18569) 2023-12-01 07:56:24 -08:00
leak-detect_test.go add codespell action (#18818) 2024-01-17 23:03:17 -08:00
license-update.go add codespell action (#18818) 2024-01-17 23:03:17 -08:00
listen-notification-handlers.go Improve tracing & notification scalability (#18903) 2024-01-30 12:49:02 -08:00
local-locker_gen_test.go Convert more peer <--> peer REST calls (#19004) 2024-02-19 14:54:46 -08:00
local-locker_gen.go Convert more peer <--> peer REST calls (#19004) 2024-02-19 14:54:46 -08:00
local-locker_test.go cleanup Go linter settings (#16736) 2023-03-04 20:57:35 -08:00
local-locker.go Convert more peer <--> peer REST calls (#19004) 2024-02-19 14:54:46 -08:00
lock-rest-client_test.go perf: websocket grid connectivity for all internode communication (#18461) 2023-11-20 17:09:35 -08:00
lock-rest-client.go DiskInfo() must return errDiskNotFound not internal errors (#18514) 2023-11-24 09:07:14 -08:00
lock-rest-server-common_test.go Revert "Make localLocker lock attempts cancellable (#16510)" (#16884) 2023-03-23 10:26:21 -07:00
lock-rest-server-common.go perf: websocket grid connectivity for all internode communication (#18461) 2023-11-20 17:09:35 -08:00
lock-rest-server.go perf: websocket grid connectivity for all internode communication (#18461) 2023-11-20 17:09:35 -08:00
main.go Update to minio/pkg/v2 (#17967) 2023-09-04 12:57:37 -07:00
metacache_gen_test.go
metacache_gen.go re-arrange metacache struct to be optimal (#13609) 2021-11-08 10:26:08 -08:00
metacache_test.go Stop async listing earlier (#13160) 2021-09-08 11:06:45 -07:00
metacache-bucket_test.go askDisks for strict quorum to be equal to read quorum (#14623) 2022-03-25 16:29:45 -07:00
metacache-bucket.go Update to minio/pkg/v2 (#17967) 2023-09-04 12:57:37 -07:00
metacache-entries_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
metacache-entries.go avoid close 'nil' panics if any (#18890) 2024-01-28 10:04:17 -08:00
metacache-manager.go remove gateway completely (#15929) 2022-10-24 17:44:15 -07:00
metacache-marker.go Run staticcheck on CI (#16170) 2022-12-05 11:18:50 -08:00
metacache-server-pool.go listing must return WalkDir() errors first (#19006) 2024-02-07 13:20:07 -08:00
metacache-set_gen_test.go Convert more peer <--> peer REST calls (#19004) 2024-02-19 14:54:46 -08:00
metacache-set_gen.go Convert more peer <--> peer REST calls (#19004) 2024-02-19 14:54:46 -08:00
metacache-set.go do not block on send channels under high load (#19090) 2024-02-20 15:00:35 -08:00
metacache-stream_test.go Remove deprecated io/ioutil (#15707) 2022-09-19 11:05:16 -07:00
metacache-stream.go avoid close 'nil' panics if any (#18890) 2024-01-28 10:04:17 -08:00
metacache-walk_gen_test.go perf: websocket grid connectivity for all internode communication (#18461) 2023-11-20 17:09:35 -08:00
metacache-walk_gen.go perf: websocket grid connectivity for all internode communication (#18461) 2023-11-20 17:09:35 -08:00
metacache-walk.go do not block on send channels under high load (#19090) 2024-02-20 15:00:35 -08:00
metacache.go converge SNSD deployments into single code (#15988) 2022-11-01 16:41:01 -07:00
metrics-realtime.go Read drive IO stats from sysfs instead of procfs (#19131) 2024-02-26 11:34:50 -08:00
metrics-resource.go Read drive IO stats from sysfs instead of procfs (#19131) 2024-02-26 11:34:50 -08:00
metrics-router.go Add support for resource metrics (#18057) 2023-09-30 13:40:20 -07:00
metrics-v2_gen_test.go Convert more peer <--> peer REST calls (#19004) 2024-02-19 14:54:46 -08:00
metrics-v2_gen.go Convert more peer <--> peer REST calls (#19004) 2024-02-19 14:54:46 -08:00
metrics-v2_test.go Use +Inf label additionally for Histogram metrics (#18807) 2024-01-18 14:51:28 -08:00
metrics-v2.go automatically generate root credentials with KMS (#19025) 2024-03-01 13:09:42 -08:00
metrics.go remove unnecessary metrics in 'mc admin info' output (#19020) 2024-02-08 19:28:46 -08:00
mrf.go initialize the disk healer early on (#19143) 2024-02-27 23:02:14 -08:00
namespace-lock_test.go
namespace-lock.go allow quota enforcement to rely on older values (#17351) 2023-06-05 16:56:35 -07:00
naughty-disk_test.go remove checkBucketExist check entirely to avoid fan-out calls (#18917) 2024-01-30 12:43:25 -08:00
net_test.go add configurable VRF interface and user-timeout (#17108) 2023-05-03 14:12:25 -07:00
net.go fix: allow DNS disconnection events to happen in k8s (#19145) 2024-02-28 09:54:52 -08:00
notification-summary.go Bump up madmin-go and pkg deps (#17469) 2023-06-19 17:53:08 -07:00
notification.go converge clusterRead health into cluster health (#19063) 2024-02-15 16:48:36 -08:00
object_api_suite_test.go use typos instead of codespell (#19088) 2024-02-21 22:26:06 -08:00
object-api-common.go perf: websocket grid connectivity for all internode communication (#18461) 2023-11-20 17:09:35 -08:00
object-api-datatypes.go add codespell action (#18818) 2024-01-17 23:03:17 -08:00
object-api-deleteobject_test.go avoid locks for internal and invalid buckets in MakeBucket() (#16302) 2022-12-23 07:46:00 -08:00
object-api-errors.go use typos instead of codespell (#19088) 2024-02-21 22:26:06 -08:00
object-api-getobjectinfo_test.go avoid locks for internal and invalid buckets in MakeBucket() (#16302) 2022-12-23 07:46:00 -08:00
object-api-input-checks.go s3: CopyObject to disallow invalid dest object names (#19110) 2024-02-22 10:05:17 -08:00
object-api-interface.go converge clusterRead health into cluster health (#19063) 2024-02-15 16:48:36 -08:00
object-api-listobjects_test.go remove checkBucketExist check entirely to avoid fan-out calls (#18917) 2024-01-30 12:43:25 -08:00
object-api-multipart_test.go use typos instead of codespell (#19088) 2024-02-21 22:26:06 -08:00
object-api-options.go feat: add support for GetObjectAttributes API (#18732) 2024-01-05 10:43:06 -08:00
object-api-putobject_test.go use typos instead of codespell (#19088) 2024-02-21 22:26:06 -08:00
object-api-utils_test.go use typos instead of codespell (#19088) 2024-02-21 22:26:06 -08:00
object-api-utils.go avoid close 'nil' panics if any (#18890) 2024-01-28 10:04:17 -08:00
object-handlers_test.go s3: CopyObject to disallow invalid dest object names (#19110) 2024-02-22 10:05:17 -08:00
object-handlers-common_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
object-handlers-common.go feat: bring new HDD related performance enhancements (#18239) 2023-11-22 13:46:17 -08:00
object-handlers.go Send a bucket notification event on DeleteObject() for non-existing object (#19037) 2024-02-13 07:34:17 -08:00
object-lambda-handlers.go remove generating presignedURLs with range header for lambda (#18033) 2023-09-14 21:58:17 -07:00
object-multipart-handlers.go turn-off md5sum for SSE-KMS/SSE-C as optimization for multipart (#19106) 2024-02-22 04:24:11 -08:00
os_other.go optimize mkdir calls to avoid base-dir Mkdir attempts (#18021) 2023-09-13 08:14:36 -07:00
os_unix.go add codespell action (#18818) 2024-01-17 23:03:17 -08:00
os_windows.go fix: linter errors in Windows specific code (#18276) 2023-10-18 11:08:15 -07:00
os-dirent_fileino.go fix: enable go1.17 github ci/cd (#12997) 2021-08-18 18:35:22 -07:00
os-dirent_ino.go fix: enable go1.17 github ci/cd (#12997) 2021-08-18 18:35:22 -07:00
os-dirent_namelen_bsd.go fix: enable go1.17 github ci/cd (#12997) 2021-08-18 18:35:22 -07:00
os-dirent_namelen_linux.go fix: enable go1.17 github ci/cd (#12997) 2021-08-18 18:35:22 -07:00
os-instrumented.go remove rename2 entirely, avoids the risk of moving data (#19058) 2024-02-14 17:09:38 -08:00
os-readdir_test.go Remove deprecated io/ioutil (#15707) 2022-09-19 11:05:16 -07:00
os-readdir-common.go Add option in readDir to enable symlink following of dirs (#12668) 2021-07-09 16:20:51 -07:00
os-reliable_test.go optimize mkdir calls to avoid base-dir Mkdir attempts (#18021) 2023-09-13 08:14:36 -07:00
os-reliable.go optimize mkdir calls to avoid base-dir Mkdir attempts (#18021) 2023-09-13 08:14:36 -07:00
os-rename_linux.go remove rename2 entirely, avoids the risk of moving data (#19058) 2024-02-14 17:09:38 -08:00
os-rename_nolinux.go remove rename2 entirely, avoids the risk of moving data (#19058) 2024-02-14 17:09:38 -08:00
osmetric_string.go remove rename2 entirely, avoids the risk of moving data (#19058) 2024-02-14 17:09:38 -08:00
peer-rest-client.go fix: crash in ResourceMetrics RPC handling concurrent writers (#19123) 2024-02-25 00:51:38 -08:00
peer-rest-common.go Convert more peer <--> peer REST calls (#19004) 2024-02-19 14:54:46 -08:00
peer-rest-server.go fix: crash in ResourceMetrics RPC handling concurrent writers (#19123) 2024-02-25 00:51:38 -08:00
peer-s3-client.go Convert more peer <--> peer REST calls (#19004) 2024-02-19 14:54:46 -08:00
peer-s3-server.go fix: found races in accessing globalLocalDrives (#19069) 2024-02-16 17:15:57 -08:00
perf-tests.go avoid close 'nil' panics if any (#18890) 2024-01-28 10:04:17 -08:00
policy_test.go Update to minio/pkg/v2 (#17967) 2023-09-04 12:57:37 -07:00
post-policy_test.go remove checkBucketExist check entirely to avoid fan-out calls (#18917) 2024-01-30 12:43:25 -08:00
post-policy-fan-out.go add codespell action (#18818) 2024-01-17 23:03:17 -08:00
postpolicyform_test.go
postpolicyform.go add codespell action (#18818) 2024-01-17 23:03:17 -08:00
prepare-storage.go fix: revert allow offline disks on fresh start (#19052) 2024-02-14 10:37:34 -08:00
rebalance-admin.go prom: Add online and healing drives metrics per erasure set (#18700) 2023-12-21 16:56:43 -08:00
rebalancemetric_string.go feat: introduce pool-level rebalance (#15483) 2022-10-25 12:36:57 -07:00
rebalstatus_string.go feat: introduce pool-level rebalance (#15483) 2022-10-25 12:36:57 -07:00
routers.go Improve tracing & notification scalability (#18903) 2024-01-30 12:49:02 -08:00
s3-zip-handlers.go completely remove drive caching layer from gateway days (#18217) 2023-10-11 21:18:17 -07:00
scannermetric_string.go Add abandoned folder scanning to metrics (#18076) 2023-09-24 22:15:31 -07:00
server_test.go use typos instead of codespell (#19088) 2024-02-21 22:26:06 -08:00
server-main_test.go Add support of conf file to pass arguments and options (#18592) 2023-12-07 01:33:56 -08:00
server-main.go debug: introduce support for configuring client connect WRITE deadline (#19170) 2024-03-01 08:00:42 -08:00
server-rlimit.go Update to minio/pkg/v2 (#17967) 2023-09-04 12:57:37 -07:00
server-startup-msg_test.go Bump up madmin-go and pkg deps (#17469) 2023-06-19 17:53:08 -07:00
server-startup-msg.go automatically generate root credentials with KMS (#19025) 2024-03-01 13:09:42 -08:00
service.go initialize the disk healer early on (#19143) 2024-02-27 23:02:14 -08:00
setup-type.go remove gateway completely (#15929) 2022-10-24 17:44:15 -07:00
sftp-server-driver.go avoid close 'nil' panics if any (#18890) 2024-01-28 10:04:17 -08:00
sftp-server.go Add support of conf file to pass arguments and options (#18592) 2023-12-07 01:33:56 -08:00
shared-lock.go fix: allow global leader lock context merge to be canceled (#16603) 2023-02-13 01:26:38 -08:00
signals.go fix: do not os.Exit(1) while writing goroutines during shutdown (#17640) 2023-07-12 07:18:30 -07:00
signature-v2_test.go Revert "Revert "tests: Add context cancelation (#15374)"" 2022-10-14 03:08:40 -07:00
signature-v2.go add codespell action (#18818) 2024-01-17 23:03:17 -08:00
signature-v4_test.go add codespell action (#18818) 2024-01-17 23:03:17 -08:00
signature-v4-parser_test.go use typos instead of codespell (#19088) 2024-02-21 22:26:06 -08:00
signature-v4-parser.go add codespell action (#18818) 2024-01-17 23:03:17 -08:00
signature-v4-utils_test.go do not check for query params to be signed headers (#18283) 2023-10-19 21:32:49 -07:00
signature-v4-utils.go fix: permission checks for editing access keys (#18928) 2024-01-31 10:56:45 -08:00
signature-v4.go support passing signatureAge conditional (#18529) 2023-11-27 11:30:19 -08:00
site-replication_test.go Bump up madmin-go and pkg deps (#17469) 2023-06-19 17:53:08 -07:00
site-replication-metrics_gen_test.go Add additional info for replication metrics API (#17293) 2023-08-30 01:00:59 -07:00
site-replication-metrics_gen.go metrics: add replication metrics on proxied requests (#18957) 2024-02-05 22:00:45 -08:00
site-replication-metrics.go metrics: add replication metrics on proxied requests (#18957) 2024-02-05 22:00:45 -08:00
site-replication-utils_gen_test.go feat: Add support for site level resync (#15753) 2022-11-14 07:16:40 -08:00
site-replication-utils_gen.go feat: Add support for site level resync (#15753) 2022-11-14 07:16:40 -08:00
site-replication-utils.go add codespell action (#18818) 2024-01-17 23:03:17 -08:00
site-replication.go sr: use site replicator svcacct to sign STS session tokens (#19111) 2024-02-26 13:30:28 -08:00
speedtest.go avoid close 'nil' panics if any (#18890) 2024-01-28 10:04:17 -08:00
storage-datatypes_gen_test.go fix: allow DNS disconnection events to happen in k8s (#19145) 2024-02-28 09:54:52 -08:00
storage-datatypes_gen.go fix: allow DNS disconnection events to happen in k8s (#19145) 2024-02-28 09:54:52 -08:00
storage-datatypes_test.go Remove deprecated io/ioutil (#15707) 2022-09-19 11:05:16 -07:00
storage-datatypes.go fix: relax metadata checks for healing (#19165) 2024-02-29 22:49:01 -08:00
storage-errors.go migrate bootstrap logic directly to websockets (#18855) 2024-01-24 13:36:44 -08:00
storage-interface.go remove checkBucketExist check entirely to avoid fan-out calls (#18917) 2024-01-30 12:43:25 -08:00
storage-rest_test.go remove checkBucketExist check entirely to avoid fan-out calls (#18917) 2024-01-30 12:43:25 -08:00
storage-rest-client.go fix: allow DNS disconnection events to happen in k8s (#19145) 2024-02-28 09:54:52 -08:00
storage-rest-common_gen_test.go perf: websocket grid connectivity for all internode communication (#18461) 2023-11-20 17:09:35 -08:00
storage-rest-common_gen.go perf: websocket grid connectivity for all internode communication (#18461) 2023-11-20 17:09:35 -08:00
storage-rest-common.go honor replaced disk properly by updating globalLocalDrives (#19038) 2024-02-12 13:00:20 -08:00
storage-rest-server.go ignore x-amz-storage-class when its set to STANDARD (#19154) 2024-02-28 17:44:30 -08:00
storagemetric_string.go trace: Publish storage layer errors (#16153) 2022-12-01 12:10:54 -08:00
streaming-signature-v4_test.go
streaming-signature-v4.go add codespell action (#18818) 2024-01-17 23:03:17 -08:00
streaming-v4-unsigned.go Signed trailers for signature v4 (#16484) 2023-05-05 19:53:12 -07:00
sts-datatypes.go Add support for Identity Management Plugin (#14913) 2022-05-26 17:58:09 -07:00
sts-errors.go use typos instead of codespell (#19088) 2024-02-21 22:26:06 -08:00
sts-handlers_test.go sts: Add test for DurationSeconds condition (#19044) 2024-02-13 06:55:37 -08:00
sts-handlers.go sr: use site replicator svcacct to sign STS session tokens (#19111) 2024-02-26 13:30:28 -08:00
stserrorcode_string.go sts: validate if iam subsystem initialized in handlers (#17796) 2023-08-03 13:24:25 -07:00
test-utils_test.go log: Use error log type instead of Application/MinIO type (#18930) 2024-02-01 16:13:57 -08:00
tier_gen_test.go
tier_gen.go Bump up madmin-go and pkg deps (#17469) 2023-06-19 17:53:08 -07:00
tier_test.go Export tier metrics (#18678) 2023-12-20 20:13:40 -08:00
tier-handlers.go Refresh tier config periodically (#19049) 2024-02-15 11:52:44 -08:00
tier-journal_gen_test.go
tier-journal_gen.go
tier-journal_test.go
tier-journal.go add codespell action (#18818) 2024-01-17 23:03:17 -08:00
tier-last-day-stats_gen_test.go Convert more peer <--> peer REST calls (#19004) 2024-02-19 14:54:46 -08:00
tier-last-day-stats_gen.go Convert more peer <--> peer REST calls (#19004) 2024-02-19 14:54:46 -08:00
tier-last-day-stats.go Convert more peer <--> peer REST calls (#19004) 2024-02-19 14:54:46 -08:00
tier-mem-journal.go fix: crash in globalTierJournal when TierConfig is not initialized (#17791) 2023-08-03 14:16:15 -07:00
tier-sweeper.go upgrade golang-lint to the latest (#15600) 2022-08-26 12:52:29 -07:00
tier.go Refresh tier config periodically (#19049) 2024-02-15 11:52:44 -08:00
typed-errors.go add codespell action (#18818) 2024-01-17 23:03:17 -08:00
untar.go snowball: Restrict zstd window size (#16987) 2023-04-06 17:47:38 -07:00
update_fips.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
update_nofips.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
update_test.go cleanup ignored static analysis (#16767) 2023-03-06 08:56:10 -08:00
update-notifier_test.go update-notifier.go: misleading version age message (#17750) 2023-07-31 08:36:19 -07:00
update-notifier.go audit: Fix merrs and derrs object dangling message (#18714) 2023-12-27 22:27:04 -08:00
update.go add new update v2 that updates per node, allows idempotent behavior (#18859) 2024-01-26 08:40:13 -08:00
url_test.go add gocritic/ruleguard checks back again, cleanup code. (#13665) 2021-11-16 09:28:29 -08:00
utils_test.go move timedValue -> cachevalue package (#19114) 2024-02-23 13:28:14 -08:00
utils.go move timedValue -> cachevalue package (#19114) 2024-02-23 13:28:14 -08:00
veeam-sos-api.go exclude veeam virtual objects from replication (#18918) 2024-01-30 10:43:58 -08:00
version_test.go
warm-backend-azure.go tier: Allow edit of the new Azure and AWS auth params (#18690) 2023-12-21 16:58:10 -08:00
warm-backend-gcs.go tier: Allow edit of the new Azure and AWS auth params (#18690) 2023-12-21 16:58:10 -08:00
warm-backend-minio.go add codespell action (#18818) 2024-01-17 23:03:17 -08:00
warm-backend-s3.go tier: Allow edit of the new Azure and AWS auth params (#18690) 2023-12-21 16:58:10 -08:00
warm-backend.go fix: tier addition validation (#18136) 2023-09-28 22:33:24 -07:00
xl-storage_noatime_notsupported.go fix: enable go1.17 github ci/cd (#12997) 2021-08-18 18:35:22 -07:00
xl-storage_noatime_supported.go fix: enable go1.17 github ci/cd (#12997) 2021-08-18 18:35:22 -07:00
xl-storage_test.go remove checkBucketExist check entirely to avoid fan-out calls (#18917) 2024-01-30 12:43:25 -08:00
xl-storage_unix_test.go test: use T.TempDir to create temporary test directory (#15400) 2022-07-25 12:37:26 -07:00
xl-storage_windows_test.go rename Force to Immediate for clarity (#18540) 2023-11-28 22:35:16 -08:00
xl-storage-disk-id-check.go cachevalue: simplify exported interface (#19137) 2024-02-28 09:09:09 -08:00
xl-storage-errors_test.go
xl-storage-errors.go fix: handle syscall.EROFS also for osIsPermission() (#16765) 2023-03-06 08:56:29 -08:00
xl-storage-format_test.go use typos instead of codespell (#19088) 2024-02-21 22:26:06 -08:00
xl-storage-format-utils_test.go avoid repeated large allocations for large parts (#17968) 2023-09-02 07:49:24 -07:00
xl-storage-format-utils.go avoid repeated large allocations for large parts (#17968) 2023-09-02 07:49:24 -07:00
xl-storage-format-v1_gen_test.go
xl-storage-format-v1_gen.go fix: add healing metric type for heal tracing (#15631) 2022-08-31 12:28:03 -07:00
xl-storage-format-v1.go allow quorum fileInfo to pick same parityBlocks (#17454) 2023-06-18 18:20:15 -07:00
xl-storage-format-v2_gen_test.go Improve performance on multiple versions (#13573) 2021-11-18 12:15:22 -08:00
xl-storage-format-v2_gen.go fix: add healing metric type for heal tracing (#15631) 2022-08-31 12:28:03 -07:00
xl-storage-format-v2_string.go Improve listing consistency with version merging (#13723) 2021-12-02 11:29:16 -08:00
xl-storage-format-v2_test.go avoid repeated large allocations for large parts (#17968) 2023-09-02 07:49:24 -07:00
xl-storage-format-v2-legacy.go fix: inconsistent replication delete marker timestamps (#15956) 2022-10-27 09:46:52 -07:00
xl-storage-format-v2.go ignore x-amz-storage-class when its set to STANDARD (#19154) 2024-02-28 17:44:30 -08:00
xl-storage-free-version_test.go avoid repeated large allocations for large parts (#17968) 2023-09-02 07:49:24 -07:00
xl-storage-free-version.go cleanup ignored static analysis (#16767) 2023-03-06 08:56:10 -08:00
xl-storage-meta-inline.go Improve performance on multiple versions (#13573) 2021-11-18 12:15:22 -08:00
xl-storage.go xl: Avoid called getdents for folders in listing (#19100) 2024-03-01 08:01:28 -08:00