Remove Default master encryption key from settings. by vamsimanohar · Pull Request #1851 · opensearch-project/sql · GitHub
Skip to content

Remove Default master encryption key from settings.#1851

Merged
vamsimanohar merged 1 commit into
opensearch-project:mainfrom
vamsimanohar:remove-default-master-key
Jul 11, 2023
Merged

Remove Default master encryption key from settings.#1851
vamsimanohar merged 1 commit into
opensearch-project:mainfrom
vamsimanohar:remove-default-master-key

Conversation

@vamsimanohar

@vamsimanohar vamsimanohar commented Jul 11, 2023

Copy link
Copy Markdown
Member

Description

Testing

Request:

{
  "name": "aws_prometheus3",
  "connector": "PROMETHEUS",
  "allowedRoles": [],
  "properties": {
    "prometheus.uri": "https://localhost:9090",
    "prometheus.auth.type" : "basicauth",
    "prometheus.auth.username" : "username",
    "prometheus.auth.password" : "password"
  }
}

Response

{
  "status": 400,
  "error": {
    "type": "IllegalStateException",
    "reason": "Invalid Request",
    "details": "Master key is a required config for using datasource APIs. Please set the following config in opensearch.yml in all the cluster nodes. More details can be found here: https://github.com/opensearch-project/sql/blob/main/docs/user/ppl/admin/datasources.rst#master-key-config-for-encrypting-credential-information"
  }
}

Issues Resolved

[List any issues this PR will resolve]

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@vamsimanohar vamsimanohar force-pushed the remove-default-master-key branch 2 times, most recently from d81fbf3 to 10f5719 Compare July 11, 2023 21:54
@codecov

codecov Bot commented Jul 11, 2023

Copy link
Copy Markdown

@vamsimanohar vamsimanohar force-pushed the remove-default-master-key branch from 10f5719 to 449cc17 Compare July 11, 2023 21:59
@vamsimanohar vamsimanohar added the bug Something isn't working label Jul 11, 2023
@vamsimanohar vamsimanohar self-assigned this Jul 11, 2023
@vamsimanohar vamsimanohar force-pushed the remove-default-master-key branch 2 times, most recently from 6efc172 to 39ad8a2 Compare July 11, 2023 22:25
@vamsimanohar vamsimanohar marked this pull request as ready for review July 11, 2023 22:27
@vamsimanohar vamsimanohar force-pushed the remove-default-master-key branch from 39ad8a2 to 9a73353 Compare July 11, 2023 22:31
@vamsimanohar vamsimanohar force-pushed the remove-default-master-key branch from 9a73353 to 208d703 Compare July 11, 2023 22:34
Signed-off-by: Vamsi Manohar <reddyvam@amazon.com>
@vamsimanohar vamsimanohar force-pushed the remove-default-master-key branch from 208d703 to 42f4ed3 Compare July 11, 2023 22:36
@vamsimanohar vamsimanohar merged commit bc02815 into opensearch-project:main Jul 11, 2023
opensearch-trigger-bot Bot pushed a commit that referenced this pull request Jul 11, 2023
Signed-off-by: Vamsi Manohar <reddyvam@amazon.com>
(cherry picked from commit bc02815)
opensearch-trigger-bot Bot pushed a commit that referenced this pull request Jul 11, 2023
Signed-off-by: Vamsi Manohar <reddyvam@amazon.com>
(cherry picked from commit bc02815)
vamsimanohar added a commit that referenced this pull request Jul 12, 2023
…1853)

* Remov:e Default master key (#1851)

Signed-off-by: Vamsi Manohar <reddyvam@amazon.com>
(cherry picked from commit bc02815)

* Fix BWC tests

Signed-off-by: Vamsi Manohar <reddyvam@amazon.com>

---------

Signed-off-by: Vamsi Manohar <reddyvam@amazon.com>
Co-authored-by: Vamsi Manohar <reddyvam@amazon.com>
vamsimanohar added a commit that referenced this pull request Jul 12, 2023
…1854)

* Remov:e Default master key (#1851)

Signed-off-by: Vamsi Manohar <reddyvam@amazon.com>
(cherry picked from commit bc02815)

* Fix BWC tests

Signed-off-by: Vamsi Manohar <reddyvam@amazon.com>

---------

Signed-off-by: Vamsi Manohar <reddyvam@amazon.com>
Co-authored-by: Vamsi Manohar <reddyvam@amazon.com>
MitchellGale pushed a commit to Bit-Quill/opensearch-project-sql that referenced this pull request Jul 20, 2023
Signed-off-by: Vamsi Manohar <reddyvam@amazon.com>
Signed-off-by: Mitchell Gale <Mitchell.Gale@improving.com>
MitchellGale pushed a commit to Bit-Quill/opensearch-project-sql that referenced this pull request Jul 28, 2023
Signed-off-by: Vamsi Manohar <reddyvam@amazon.com>
Signed-off-by: Mitchell Gale <Mitchell.Gale@improving.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport 2.x backport 2.9 bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants