{"id":5154,"date":"2024-12-23T17:52:38","date_gmt":"2024-12-23T20:52:38","guid":{"rendered":"https:\/\/powerembedded.com.br\/blog\/?p=5154"},"modified":"2024-12-23T17:52:38","modified_gmt":"2024-12-23T20:52:38","slug":"chave-de-api-controler-granular","status":"publish","type":"post","link":"https:\/\/powerembedded.com.br\/blog\/chave-de-api-controler-granular\/","title":{"rendered":"Chave de API (Controler Granular)"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"5154\" class=\"elementor elementor-5154\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-b20b518 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"b20b518\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-3092770\" data-id=\"3092770\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-e8c2592 elementor-widget elementor-widget-text-editor\" data-id=\"e8c2592\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Agora no <strong>Power Embedded<\/strong>, \u00e9 poss\u00edvel implementar um <strong>controle granular de acesso \u00e0s APIs <\/strong>a n\u00edvel de <strong>Organiza\u00e7\u00e3o<\/strong> ou <strong>Empresa<\/strong>, permitindo a gera\u00e7\u00e3o de chaves espec\u00edficas para endpoints individuais. Esta nova funcionalidade oferece maior seguran\u00e7a e controle sobre as integra\u00e7\u00f5es, eliminando a necessidade de chaves com acesso universal.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-2ab5a6f elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"2ab5a6f\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-df4794a\" data-id=\"df4794a\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-0d69f02 elementor-widget elementor-widget-image\" data-id=\"0d69f02\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"616\" height=\"596\" src=\"https:\/\/powerembedded.com.br\/blog\/wp-content\/uploads\/2024\/12\/apis.png\" class=\"attachment-large size-large wp-image-5159\" alt=\"\" srcset=\"https:\/\/powerembedded.com.br\/blog\/wp-content\/uploads\/2024\/12\/apis.png 616w, https:\/\/powerembedded.com.br\/blog\/wp-content\/uploads\/2024\/12\/apis-300x290.png 300w, https:\/\/powerembedded.com.br\/blog\/wp-content\/uploads\/2024\/12\/apis-12x12.png 12w\" sizes=\"(max-width: 616px) 100vw, 616px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-6bfdf72 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"6bfdf72\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-8f934f0\" data-id=\"8f934f0\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-9f880be elementor-widget elementor-widget-text-editor\" data-id=\"9f880be\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h2>Como funciona?<\/h2><p>Com esta funcionalidade, voc\u00ea pode criar chaves de API com permiss\u00f5es espec\u00edficas, definindo exatamente quais endpoints cada chave pode acessar. O sistema permite combinar m\u00faltiplos endpoints em uma \u00fanica chave ou criar chaves individuais para cada endpoint.<\/p><h2>Passo a passo para configura\u00e7\u00e3o<\/h2><p>1. Acesse o menu de configura\u00e7\u00f5es<\/p><p>V\u00e1 at\u00e9 <strong>Configura\u00e7\u00f5es<\/strong> &gt; <strong>API<\/strong> &gt; <strong>Chaves API<\/strong><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-ba81158 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"ba81158\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-4abb1b8\" data-id=\"4abb1b8\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-dc108dc elementor-widget elementor-widget-image\" data-id=\"dc108dc\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"1024\" height=\"380\" src=\"https:\/\/powerembedded.com.br\/blog\/wp-content\/uploads\/2024\/12\/geral-1-1024x380.png\" class=\"attachment-large size-large wp-image-5160\" alt=\"\" srcset=\"https:\/\/powerembedded.com.br\/blog\/wp-content\/uploads\/2024\/12\/geral-1-1024x380.png 1024w, https:\/\/powerembedded.com.br\/blog\/wp-content\/uploads\/2024\/12\/geral-1-300x111.png 300w, https:\/\/powerembedded.com.br\/blog\/wp-content\/uploads\/2024\/12\/geral-1-768x285.png 768w, https:\/\/powerembedded.com.br\/blog\/wp-content\/uploads\/2024\/12\/geral-1-1536x570.png 1536w, https:\/\/powerembedded.com.br\/blog\/wp-content\/uploads\/2024\/12\/geral-1-18x7.png 18w, https:\/\/powerembedded.com.br\/blog\/wp-content\/uploads\/2024\/12\/geral-1.png 1691w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-13548b4 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"13548b4\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-e8cc174\" data-id=\"e8cc174\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-105e425 elementor-widget elementor-widget-text-editor\" data-id=\"105e425\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>2. Configure seu token<\/p><p>Clique em <strong>Adicionar Chave<\/strong> e d\u00ea um nome a seu token no campo <strong>Nome<\/strong>. Em seguida escolha o <strong>Tipo de permiss\u00e3o<\/strong>, sendo poss\u00edvel escolher entre <strong>Organiza\u00e7\u00e3o<\/strong> ou <strong>Empresa<\/strong>, dependendo do n\u00edvel de permiss\u00e3o necess\u00e1rio.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-df3cb41 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"df3cb41\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-5a10c29\" data-id=\"5a10c29\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-dc560e7 elementor-widget elementor-widget-image\" data-id=\"dc560e7\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"619\" height=\"778\" src=\"https:\/\/powerembedded.com.br\/blog\/wp-content\/uploads\/2024\/12\/nome.png\" class=\"attachment-large size-large wp-image-5167\" alt=\"\" srcset=\"https:\/\/powerembedded.com.br\/blog\/wp-content\/uploads\/2024\/12\/nome.png 619w, https:\/\/powerembedded.com.br\/blog\/wp-content\/uploads\/2024\/12\/nome-239x300.png 239w, https:\/\/powerembedded.com.br\/blog\/wp-content\/uploads\/2024\/12\/nome-10x12.png 10w\" sizes=\"(max-width: 619px) 100vw, 619px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-709a788 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"709a788\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-9c36ce8\" data-id=\"9c36ce8\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-6d15201 elementor-widget elementor-widget-text-editor\" data-id=\"6d15201\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>3. Selecione os endpoints<\/p><p>Por \u00faltimo clique no menu <strong>API Endpoints<\/strong> e selecione os endpoints de sua escolha, finalizando com o bot\u00e3o <strong>Salvar<\/strong>. A chave API ficar\u00e1 dispon\u00edvel no campo <strong>Chave<\/strong>.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-699160b elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"699160b\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-b7e4644\" data-id=\"b7e4644\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-96c861e elementor-widget elementor-widget-image\" data-id=\"96c861e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"616\" height=\"832\" src=\"https:\/\/powerembedded.com.br\/blog\/wp-content\/uploads\/2024\/12\/endpoints.png\" class=\"attachment-large size-large wp-image-5168\" alt=\"\" srcset=\"https:\/\/powerembedded.com.br\/blog\/wp-content\/uploads\/2024\/12\/endpoints.png 616w, https:\/\/powerembedded.com.br\/blog\/wp-content\/uploads\/2024\/12\/endpoints-222x300.png 222w, https:\/\/powerembedded.com.br\/blog\/wp-content\/uploads\/2024\/12\/endpoints-9x12.png 9w\" sizes=\"(max-width: 616px) 100vw, 616px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Agora no Power Embedded, \u00e9 poss\u00edvel implementar um controle granular de acesso \u00e0s APIs a n\u00edvel de Organiza\u00e7\u00e3o ou Empresa, permitindo a gera\u00e7\u00e3o de chaves espec\u00edficas para endpoints individuais. Esta nova funcionalidade oferece maior seguran\u00e7a e controle sobre as integra\u00e7\u00f5es, eliminando a necessidade de chaves com acesso universal. Como funciona? Com esta funcionalidade, voc\u00ea pode&hellip; <br \/> <a class=\"read-more\" href=\"https:\/\/powerembedded.com.br\/blog\/chave-de-api-controler-granular\/\">Leia mais<\/a><\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"content-type":"","footnotes":""},"categories":[7],"tags":[],"class_list":["post-5154","post","type-post","status-publish","format-standard","hentry","category-novidades"],"_links":{"self":[{"href":"https:\/\/powerembedded.com.br\/blog\/wp-json\/wp\/v2\/posts\/5154","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/powerembedded.com.br\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/powerembedded.com.br\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/powerembedded.com.br\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/powerembedded.com.br\/blog\/wp-json\/wp\/v2\/comments?post=5154"}],"version-history":[{"count":16,"href":"https:\/\/powerembedded.com.br\/blog\/wp-json\/wp\/v2\/posts\/5154\/revisions"}],"predecessor-version":[{"id":5191,"href":"https:\/\/powerembedded.com.br\/blog\/wp-json\/wp\/v2\/posts\/5154\/revisions\/5191"}],"wp:attachment":[{"href":"https:\/\/powerembedded.com.br\/blog\/wp-json\/wp\/v2\/media?parent=5154"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/powerembedded.com.br\/blog\/wp-json\/wp\/v2\/categories?post=5154"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/powerembedded.com.br\/blog\/wp-json\/wp\/v2\/tags?post=5154"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}