[Fleet] Fix enrollment api key application name (#122798) (#122863)

(cherry picked from commit c180aac1f3)

Co-authored-by: Nicolas Chaulet <nicolas.chaulet@elastic.co>
This commit is contained in:
Kibana Machine 2022-01-12 14:32:47 -05:00 committed by GitHub
parent 9ab84ec0af
commit a495bf50ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -213,7 +213,7 @@ export async function generateEnrollmentAPIKey(
index: [],
applications: [
{
application: '.fleet',
application: 'fleet',
privileges: ['no-privileges'],
resources: ['*'],
},