Skip to content

Use managed-identity instead of username and password#3

Merged
saragluna merged 4 commits into
saragluna:java-analyzerfrom
rujche:rujche/java-analyzer
Sep 29, 2024
Merged

Use managed-identity instead of username and password#3
saragluna merged 4 commits into
saragluna:java-analyzerfrom
rujche:rujche/java-analyzer

Conversation

@rujche

@rujche rujche commented Sep 18, 2024

Copy link
Copy Markdown
Collaborator

Use managed-identity instead of username and password.

name: guid(subscription().id, resourceGroup().id, linkerCreatorIdentity.id, 'linkerCreatorRole')
properties: {
roleDefinitionId: subscriptionResourceId(
'Microsoft.Authorization/roleDefinitions', 'b24988ac-6180-42a0-ab88-20f7382dd24c')

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

{{- end}}

{{- if .DbMySql}}

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Move white space after {{- if .DbMySql}} can keep the white space in generated bicep file. Otherwise the white space will be deleted automically.

2. Delete '1>&2' used for debug.
3. Add 'az tag create' to fix the problem about tag been deleted when creating service connector.
@rujche rujche marked this pull request as ready for review September 29, 2024 05:15
@saragluna saragluna merged commit 85ec20b into saragluna:java-analyzer Sep 29, 2024
saragluna pushed a commit that referenced this pull request Oct 30, 2024
…#3)

* Support detect Azure Event Hubs: produce message only, managed identity only.

* Support detect Azure Event Hubs: produce message only. Try to connect by connection string, but failed: Cant not get connection string. Issue created: Azure/bicep-registry-modules#3638

* Support detect Azure Event Hubs: produce message only, support both managed-identity and connection-string.

* Change option from "Password" to "Connection string".

* Rename "getAuthTypeByPrompt" to "chooseAuthType".
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.

2 participants