Skip to content

Commit fb9c897

Browse files
authored
App registration password (#9)
* update doc - build applications with maven * Set end date for app registration secret
1 parent 3070992 commit fb9c897

File tree

1 file changed

+1
-1
lines changed
  • infra/dev/shared/terraform/modules/app-service

1 file changed

+1
-1
lines changed

infra/dev/shared/terraform/modules/app-service/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ resource "azuread_service_principal" "application_service_principal" {
101101

102102
resource "azuread_application_password" "application_password" {
103103
application_id = azuread_application.app_registration.id
104-
end_date_relative = "4320h"
104+
end_date = timeadd(timestamp(), "4320h") # 6 months
105105
}
106106

107107
# This is not guidance and is done for demo purposes. The resource below will add the

0 commit comments

Comments
 (0)